Skip to content

Commit d9ad6a2

Browse files
committed
[InstCombine] Fix unused variable warning (NFC)
1 parent 0485211 commit d9ad6a2

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
@@ -1242,7 +1242,7 @@ Instruction *InstCombinerImpl::visitCallInst(CallInst &CI) {
12421242
// actually absent. To detect this case, call SimplifyConstrainedFPCall. If it
12431243
// returns a replacement, the call may be removed.
12441244
if (CI.use_empty() && isa<ConstrainedFPIntrinsic>(CI)) {
1245-
if (Value *V = SimplifyConstrainedFPCall(&CI, SQ.getWithInstruction(&CI)))
1245+
if (SimplifyConstrainedFPCall(&CI, SQ.getWithInstruction(&CI)))
12461246
return eraseInstFromFunction(CI);
12471247
}
12481248

0 commit comments

Comments
 (0)