Skip to content

Commit 778e8d1

Browse files
committed
[NFC] remove unused variable
1 parent 1d0005a commit 778e8d1

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
@@ -108,7 +108,7 @@ static void replaceFunctionCalls(Function *OldF, Function *NewF) {
108108
NewCI->setCallingConv(NewF->getCallingConv());
109109
NewCI->setAttributes(CI->getAttributes());
110110

111-
if (auto *FPOp = dyn_cast<FPMathOperator>(NewCI))
111+
if (isa<FPMathOperator>(NewCI))
112112
NewCI->setFastMathFlags(CI->getFastMathFlags());
113113

114114
NewCI->copyMetadata(*CI);

0 commit comments

Comments
 (0)