[PATCH] D143440: [SelectionDAGBuilder] handle Flag Output Operands in callbr

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 15:38:13 PST 2023


nickdesaulniers created this revision.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
nickdesaulniers requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Fixes crashes observed when building the ARCH=i386 Linux kernel.

Rewrite bits of SelectionDAGBuilder::visitCallBrLandingPad to re-use
machinery similar to SelectionDAGBuilder::visitInlineAsm. This is a bit
more robust for tied operands and Flag Output Operands.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143440

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/test/CodeGen/X86/callbr-asm-outputs-indirect-isel-m32.ll
  llvm/test/CodeGen/X86/callbr-asm-outputs-indirect-isel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143440.495295.patch
Type: text/x-patch
Size: 9631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230206/0a12f8f1/attachment.bin>


More information about the llvm-commits mailing list