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 17, 2024
1 parent 9b85ff2 commit 15b2767
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 15b2767

Please sign in to comment.