Skip to content

Commit d7c4202

Browse files
committed
Use copyFastMathFlags
1 parent 2fe6762 commit d7c4202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2661,7 +2661,7 @@ Instruction *InstCombinerImpl::visitCallInst(CallInst &CI) {
26612661

26622662
if (NewLdexp) {
26632663
Select->takeName(II);
2664-
cast<Instruction>(NewLdexp)->copyIRFlags(II);
2664+
cast<Instruction>(NewLdexp)->copyFastMathFlags(II);
26652665
return replaceInstUsesWith(*II, Select);
26662666
}
26672667
}

0 commit comments

Comments
 (0)