[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:43:42 PST 2022


nickdesaulniers added a comment.

In D140160#3999517 <https://reviews.llvm.org/D140160#3999517>, @nickdesaulniers wrote:

> 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...

`@test4` in that file. Will take a look.  Looks like we're getting hung in CallBrPrepare though, way before SelectionDAGBuilder though. (https://reviews.llvm.org/D139872)


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