Skip to content

Commit 0bed721

Browse files
authored
Revert "[NFC] LLVM reduce: remove unused variable" (#133586)
Reverts #133584
1 parent 1c7ab39 commit 0bed721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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-
FPOp->setFastMathFlags(CI->getFastMathFlags());
112+
NewCI->setFastMathFlags(CI->getFastMathFlags());
113113

114114
NewCI->copyMetadata(*CI);
115115

0 commit comments

Comments
 (0)