[PATCH] D140160: [llvm][SelectionDAGBuilder] codegen callbr.landingpad intrinsic

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 14:07:47 PST 2022


nickdesaulniers planned changes to this revision.
nickdesaulniers added a comment.

Some issues I hit in the next patch wiring this all up (i.e. removing TODOs from D139861 <https://reviews.llvm.org/D139861>):
`MachineVerifier::visitMachineBasicBlockBefore` will assert `MBB has allocatable live-in, but isn't entry or landing-pad.` for `@test2` in `llvm/test/CodeGen/X86/callbr-asm-outputs.ll`. The fix is to additionally check `!MBB->isInlineAsmBrIndirectTarget()`. Now I hit an infinite loop in the compiler with that test file...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140160/new/

https://reviews.llvm.org/D140160



More information about the llvm-commits mailing list