[PATCH] D119475: [AMDGPU] Add scheduler pass to rematerialize trivial defs
Vang Thao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 16 16:00:57 PST 2022
vangthao updated this revision to Diff 409443.
vangthao added a comment.
If the def we are sinking maps to a live-in set in BBLiveInMap then erase it since it is now sinked to another MBB and the entry is currently invalid.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119475/new/
https://reviews.llvm.org/D119475
Files:
llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
llvm/test/CodeGen/AMDGPU/dbg-value-ends-sched-region.mir
llvm/test/CodeGen/AMDGPU/debug-value-scheduler-crash.mir
llvm/test/CodeGen/AMDGPU/machine-scheduler-sink-trivial-remats.mir
llvm/test/CodeGen/AMDGPU/sched-assert-dead-def-subreg-use-other-subreg.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119475.409443.patch
Type: text/x-patch
Size: 366326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220217/cef3650d/attachment-0001.bin>
More information about the llvm-commits
mailing list