Files
clang-p2996/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
Jeffrey Byrnes 16f7e961c6 [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.
2025-02-06 10:16:28 -08:00

76 KiB