[PATCH] D119475: [AMDGPU] Add scheduler pass to rematerialize trivial defs
Vang Thao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 15 14:15:27 PST 2022
vangthao updated this revision to Diff 409055.
vangthao added a comment.
Combine logic for live-throughs and uses in block. Update RegionBegin for sink from and to region. Increment RegionIdx when we skip a region due to it being size 0 or 1 else next iteration will still point to this region.
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.409055.patch
Type: text/x-patch
Size: 357355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220215/e26520db/attachment-0001.bin>
More information about the llvm-commits
mailing list