aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorJeffrey Byrnes <jeffrey.byrnes@amd.com>2025-02-06 10:16:28 -0800
committerGitHub <noreply@github.com>2025-02-06 10:16:28 -0800
commit16f7e961c600986de7814822fd118f431e0bb433 (patch)
treeee724238ab72dbe14bb0f0f06bc9bc1c58161245 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parentf5d24e6cbe07902bad620df291f6172b50a7271e (diff)
downloadllvm-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