commit d4cd4a35d5cf236359b22eaf5b64793b89507fbd (tree)
parent 91ef68f9b1121d2a08f175a81f88321664c90a61
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Wed, 29 Nov 2017 19:11:34 -0500
update fast math llvm API to latest
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp
@@ -581,7 +581,7 @@ ZigLLVMDILocation *ZigLLVMGetDebugLoc(unsigned line, unsigned col, ZigLLVMDIScop
void ZigLLVMSetFastMath(LLVMBuilderRef builder_wrapped, bool on_state) {
if (on_state) {
FastMathFlags fmf;
- fmf.setUnsafeAlgebra();
+ fmf.setFast();
unwrap(builder_wrapped)->setFastMathFlags(fmf);
} else {
unwrap(builder_wrapped)->clearFastMathFlags();