Skip to content

Commit 9451617

Browse files
authored
[NFC] LLVM reduce: fix unused variable (#133584)
1 parent d22e35b commit 9451617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-reduce/deltas/ReduceOperandsToArgs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static void replaceFunctionCalls(Function *OldF, Function *NewF) {
109109
NewCI->setAttributes(CI->getAttributes());
110110

111111
if (auto *FPOp = dyn_cast<FPMathOperator>(NewCI))
112-
NewCI->setFastMathFlags(CI->getFastMathFlags());
112+
FPOp->setFastMathFlags(CI->getFastMathFlags());
113113

114114
NewCI->copyMetadata(*CI);
115115

0 commit comments

Comments
 (0)