Skip to content

Commit a1efe56

Browse files
committed
Remove an unused variable in release build.
1 parent d30e941 commit a1efe56

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Analysis/ValueTracking.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4279,9 +4279,8 @@ static KnownFPClass computeKnownFPClassFromContext(const Value *V,
42794279
if (!AssumeVH)
42804280
continue;
42814281
CallInst *I = cast<CallInst>(AssumeVH);
4282-
const Function *F = I->getFunction();
42834282

4284-
assert(F == Q.CxtI->getParent()->getParent() &&
4283+
assert(I->getFunction() == Q.CxtI->getParent()->getParent() &&
42854284
"Got assumption for the wrong function!");
42864285
assert(I->getCalledFunction()->getIntrinsicID() == Intrinsic::assume &&
42874286
"must be an assume intrinsic");

0 commit comments

Comments
 (0)