diff options
| author | Ralf Jung <post@ralfj.de> | 2024-02-18 23:10:34 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-02-21 16:28:20 +0100 |
| commit | 3dc631a61a7333123ece4f21b0d44e43cdff0980 (patch) | |
| tree | 04241cb9bd6271fd03f938ee5dc9db0df918b868 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | 25fe3cc69d3f14d3985aa053ed8962cffcbdc842 (diff) | |
| download | rust-3dc631a61a7333123ece4f21b0d44e43cdff0980.tar.gz rust-3dc631a61a7333123ece4f21b0d44e43cdff0980.zip | |
make simd_reduce_{mul,add}_unordered use only the 'reassoc' flag, not all fast-math flags
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index f9eb1da5dc7..dbf35e5f499 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -1619,6 +1619,7 @@ extern "C" { pub fn LLVMRustSetFastMath(Instr: &Value); pub fn LLVMRustSetAlgebraicMath(Instr: &Value); + pub fn LLVMRustSetAllowReassoc(Instr: &Value); // Miscellaneous instructions pub fn LLVMRustGetInstrProfIncrementIntrinsic(M: &Module) -> &Value; |
