Skip to content

Commit

Permalink
Disable lp type check temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
akiramenai committed Aug 2, 2024
1 parent bc39053 commit 6c6b83e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/IR/Verifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4385,13 +4385,15 @@ void Verifier::visitLandingPadInst(LandingPadInst &LPI) {

visitEHPadPredecessors(LPI);

/*
if (!LandingPadResultTy)
LandingPadResultTy = LPI.getType();
else
Check(LandingPadResultTy == LPI.getType(),
"The landingpad instruction should have a consistent result type "
"inside a function.",
&LPI);
*/

Function *F = LPI.getParent()->getParent();
Check(F->hasPersonalityFn(),
Expand Down

0 comments on commit 6c6b83e

Please sign in to comment.