[PATCH] D158167: [AMDGPU] Handle isUndef flag in LiveVariables::recomputeForSingleDefVirtReg

Valery Pykhtin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 13:16:12 PDT 2023


vpykhtin updated this revision to Diff 555924.
vpykhtin added a comment.
Herald added a subscriber: MatzeB.

- Rebased.
- Added tests.

Tests have revealed another bug:

MachineInstr::readsRegister doesn't check isUndef flag, I've replaced it with readsWritesVirtualRegister(Reg).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158167

Files:
  llvm/lib/CodeGen/LiveVariables.cpp
  llvm/unittests/MI/LiveIntervalTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158167.555924.patch
Type: text/x-patch
Size: 7320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230905/86f98a40/attachment.bin>


More information about the llvm-commits mailing list