about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/statement.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-02-23 14:12:38 +0000
committerbors <bors@rust-lang.org>2025-02-23 14:12:38 +0000
commitb522e7c5ea8334fbccb9dd7f9b33759304743fd0 (patch)
tree3a0578812ba5373b0a0cb8705ff6a44e65521168 /compiler/rustc_middle/src/mir/statement.rs
parentb88076097751f7677b850b94b20faf5679fca321 (diff)
parent83fd16f6258f3ae6fb6c8d6cf06eb4f8c654333e (diff)
downloadrust-b522e7c5ea8334fbccb9dd7f9b33759304743fd0.tar.gz
rust-b522e7c5ea8334fbccb9dd7f9b33759304743fd0.zip
Auto merge of #137225 - RalfJung:vectorcall, r=nnethercote
vectorcall ABI: require SSE2

According to the official docs at https://learn.microsoft.com/en-us/cpp/cpp/vectorcall, SSE2 is required for this ABI. Add a check that enforces this.

I put this together with the other checks ensuring the target features required for a function are present... however, since the ABI is known pre-monomorphization, it would be possible to do this check earlier, which would have the advantage of checking even in `cargo check`. It would have the disadvantage of spreading this code in yet more places.

The first commit just does a little refactoring of the mono-time ABI check to make it easier to add the new check.

Cc `@workingjubilee`

try-job: dist-i586-gnu-i586-i686-musl
Diffstat (limited to 'compiler/rustc_middle/src/mir/statement.rs')
0 files changed, 0 insertions, 0 deletions