[PATCH] D149954: [RegisterCoalescer] Fix problem with IMPLICIT_DEF live-in to an invoke

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 06:10:56 PDT 2023


foad created this revision.
foad added reviewers: craig.topper, RKSimon, fhahn, qcolombet, arsenm, skatkov, Pierre-vh, kparzysz, stoklund, jyknight.
Herald added subscribers: StephenFan, pengfei, tpr, hiraditya, MatzeB.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Give up on erasing an IMPLICIT_DEF if it might be live-in to a call
instruction in a basic block with EH pad successors. This fixes a
liveness bug that will be diagnosed by MachineVerifer when D149947 <https://reviews.llvm.org/D149947>
lands.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149954

Files:
  llvm/lib/CodeGen/RegisterCoalescer.cpp
  llvm/test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149954.519830.patch
Type: text/x-patch
Size: 8066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230505/3e93fe9d/attachment.bin>


More information about the llvm-commits mailing list