Skip to content

Commit b611cb1

Browse files
committed
LLVMCodeBuilder: Disable no infinity fast math flag
1 parent 7b9df37 commit b611cb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dev/engine/internal/llvm/llvmcodebuilder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ std::shared_ptr<ExecutableCode> LLVMCodeBuilder::finalize()
5353
// Set fast math flags
5454
llvm::FastMathFlags fmf;
5555
fmf.setFast(true);
56+
fmf.setNoInfs(false);
5657
fmf.setNoNaNs(false);
5758
fmf.setNoSignedZeros(false);
5859
m_builder.setFastMathFlags(fmf);

0 commit comments

Comments
 (0)