Skip to content

Commit

Permalink
Remove an unused variable in release build.
Browse files Browse the repository at this point in the history
  • Loading branch information
hokein committed Feb 13, 2024
1 parent d30e941 commit a1efe56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/lib/Analysis/ValueTracking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4279,9 +4279,8 @@ static KnownFPClass computeKnownFPClassFromContext(const Value *V,
if (!AssumeVH)
continue;
CallInst *I = cast<CallInst>(AssumeVH);
const Function *F = I->getFunction();

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

0 comments on commit a1efe56

Please sign in to comment.