1
Fork 0
rust/compiler/rustc_codegen_cranelift/src
Matthias Krüger 6a4dd19ade
Rollup merge of #122287 - RalfJung:simd-static-assert, r=pnkfelix
add test ensuring simd codegen checks don't run when a static assertion failed

stdarch relies on this to ensure that SIMD indices are in bounds.

I would love to know why this works, but I can't figure out where codegen decides to not codegen a function if a required-const does not evaluate. `@oli-obk` `@bjorn3` do you have any idea?
2024-03-14 15:44:33 +01:00
..
abi Teach llvm backend how to fall back to default bodies 2024-02-12 17:50:39 +00:00
debuginfo Merge commit '3e50cf6502' into sync_cg_clif-2024-01-26 2024-01-26 18:33:45 +00:00
driver Merge commit '3e50cf6502' into sync_cg_clif-2024-01-26 2024-01-26 18:33:45 +00:00
intrinsics Merge commit '54cbb6e753' into sync_cg_clif-2024-03-08 2024-03-08 20:41:29 +00:00
optimize
allocator.rs Merge commit '81dc066758' into sync_cg_clif-2023-10-09 2023-10-09 08:52:46 +00:00
analyze.rs remove redundant imports 2023-12-10 10:56:22 +08:00
archive.rs remove useless lifetime of ArchiveBuilder 2024-02-26 22:37:04 +08:00
base.rs Distinguish between library and lang UB in assert_unsafe_precondition 2024-03-08 18:53:58 -05:00
cast.rs Merge commit '93a5433f17' into sync_cg_clif-2023-10-24 2023-10-24 12:22:23 +00:00
codegen_i128.rs Move TyCtxt::mk_x to Ty::new_x where applicable 2023-07-05 20:27:07 +01:00
common.rs Merge commit '54cbb6e753' into sync_cg_clif-2024-03-08 2024-03-08 20:41:29 +00:00
compiler_builtins.rs
concurrency_limiter.rs Rename many DiagCtxt arguments. 2023-12-18 16:06:22 +11:00
config.rs
constant.rs add comments explaining where post-mono const eval errors abort compilation 2024-03-10 14:39:26 +01:00
discriminant.rs
global_asm.rs Implement asm goto in MIR and MIR lowering 2024-02-24 18:50:09 +00:00
inline_asm.rs Implement asm goto in MIR and MIR lowering 2024-02-24 18:50:09 +00:00
lib.rs Make CodegenBackend::join_codegen infallible. 2024-02-17 10:51:35 +11:00
linkage.rs
main_shim.rs use Instance::expect_resolve() instead of unwraping Instance::resolve() 2024-03-10 11:49:33 +01:00
num.rs Move TyCtxt::mk_x to Ty::new_x where applicable 2023-07-05 20:27:07 +01:00
pointer.rs Merge commit '81dc066758' into sync_cg_clif-2023-10-09 2023-10-09 08:52:46 +00:00
pretty_clif.rs Rename EarlyErrorHandler as EarlyDiagCtxt. 2023-12-18 16:06:21 +11:00
toolchain.rs
trap.rs
unsize.rs only set noalias on Box with the global allocator 2024-03-05 15:03:33 +01:00
value_and_place.rs Remove movability from TyKind::Coroutine 2023-12-28 16:35:01 +00:00
vtable.rs Merge commit '3e50cf6502' into sync_cg_clif-2024-01-26 2024-01-26 18:33:45 +00:00