Skip to content

Commit 71f4b66

Browse files
tgymnichgithub-actions[bot]
authored andcommitted
Automerge: Revert "[NFC] LLVM reduce: remove unused variable" (#133586)
Reverts llvm/llvm-project#133584
2 parents 8ad89a6 + 0bed721 commit 71f4b66

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

114114
NewCI->copyMetadata(*CI);
115115

0 commit comments

Comments
 (0)