diff options
author | Jeffrey Byrnes <jeffrey.byrnes@amd.com> | 2025-02-06 10:16:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-06 10:16:28 -0800 |
commit | 16f7e961c600986de7814822fd118f431e0bb433 (patch) | |
tree | ee724238ab72dbe14bb0f0f06bc9bc1c58161245 /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
parent | f5d24e6cbe07902bad620df291f6172b50a7271e (diff) | |
download | llvm-16f7e961c600986de7814822fd118f431e0bb433.zip llvm-16f7e961c600986de7814822fd118f431e0bb433.tar.gz llvm-16f7e961c600986de7814822fd118f431e0bb433.tar.bz2 |
[AMDGPU] Allow rematerialization of instructions with virtual register uses (#124327)
Remove the restriction that scheduling rematerialization candidates
cannot have virtual reg uses.
Currently, this only allows for virtual reg uses which are already live
at the rematerialization point, so bring in allUsesAvailableAt to check
for this condition. Because of this condition, the uses of the remats
will already be live in to the region, so the remat won't increase
live-in pressure.
Add an expensive check to check this condition.
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions