authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-11-29 19:11:34-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-11-29 19:11:34-05:00
logd4cd4a35d5cf236359b22eaf5b64793b89507fbd
tree73d4caa34e1db491e4c2e19ab35fb59c99f54293
parent91ef68f9b1121d2a08f175a81f88321664c90a61

update fast math llvm API to latest


1 files changed, 1 insertions(+), 1 deletions(-)

src/zig_llvm.cpp+1-1
...@@ -581,7 +581,7 @@ ZigLLVMDILocation *ZigLLVMGetDebugLoc(unsigned line, unsigned col, ZigLLVMDIScop...@@ -581,7 +581,7 @@ ZigLLVMDILocation *ZigLLVMGetDebugLoc(unsigned line, unsigned col, ZigLLVMDIScop
581void ZigLLVMSetFastMath(LLVMBuilderRef builder_wrapped, bool on_state) {581void ZigLLVMSetFastMath(LLVMBuilderRef builder_wrapped, bool on_state) {
582 if (on_state) {582 if (on_state) {
583 FastMathFlags fmf;583 FastMathFlags fmf;
584 fmf.setUnsafeAlgebra();584 fmf.setFast();
585 unwrap(builder_wrapped)->setFastMathFlags(fmf);585 unwrap(builder_wrapped)->setFastMathFlags(fmf);
586 } else {586 } else {
587 unwrap(builder_wrapped)->clearFastMathFlags();587 unwrap(builder_wrapped)->clearFastMathFlags();