aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-11-29 19:11:34 -0500
committerAndrew Kelley <superjoe30@gmail.com>2017-11-29 19:11:34 -0500
commitd4cd4a35d5cf236359b22eaf5b64793b89507fbd (patch)
tree73d4caa34e1db491e4c2e19ab35fb59c99f54293 /src/zig_llvm.cpp
parent91ef68f9b1121d2a08f175a81f88321664c90a61 (diff)
downloadzig-d4cd4a35d5cf236359b22eaf5b64793b89507fbd.tar.gz
zig-d4cd4a35d5cf236359b22eaf5b64793b89507fbd.zip
update fast math llvm API to latest
Diffstat (limited to 'src/zig_llvm.cpp')
-rw-r--r--src/zig_llvm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp
index a74a683358..03a1475062 100644
--- 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();