diff options
author | Vang Thao <Vang.Thao@amd.com> | 2022-02-02 15:33:40 -0800 |
---|---|---|
committer | Vang Thao <Vang.Thao@amd.com> | 2022-02-03 12:41:32 -0800 |
commit | 2ca194ff55632a98cf1f821564ed998ffe19945f (patch) | |
tree | 1689b5329fd9b0f9d41a327a7fd07c4019ab3f38 /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 592f52de33040630472bb49b6ed6be434d2b95e6 (diff) | |
download | llvm-2ca194ff55632a98cf1f821564ed998ffe19945f.zip llvm-2ca194ff55632a98cf1f821564ed998ffe19945f.tar.gz llvm-2ca194ff55632a98cf1f821564ed998ffe19945f.tar.bz2 |
[AMDGPU] Fix scheduler live-ins with debug inst at start of block
GCNDownwardRPTracker RPTracker.reset() skips debug instructions for NextMI so RPTracker.getNext() will never give the beginning of a sched region if it is a debug value. In this case we will never set the live-ins for that block.
Add check to see if getNext also equals the MI after skipping debug instructions.
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D118853
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions