[PATCH] D127992: InlineSpiller: Don't fold spills into undef reads

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 11:14:47 PDT 2022


arsenm created this revision.
arsenm added reviewers: qcolombet, MatzeB, skatkov.
Herald added subscribers: kosarev, kerbowa, hiraditya, jvesely.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This was producing a load into a dead register which was a verifier
error.


https://reviews.llvm.org/D127992

Files:
  llvm/lib/CodeGen/InlineSpiller.cpp
  llvm/test/CodeGen/AMDGPU/fold-restore-undef-use.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127992.437615.patch
Type: text/x-patch
Size: 5635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220616/9ced38cc/attachment.bin>


More information about the llvm-commits mailing list