[all-commits] [llvm/llvm-project] 7f0a88: [AMDGPU] Track liveins for max-ilp-sched-strategy
Jeffrey Byrnes via All-commits
all-commits at lists.llvm.org
Thu Apr 27 16:46:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7f0a881e6c3513914fd51b9ad3b3ac0b556af807
https://github.com/llvm/llvm-project/commit/7f0a881e6c3513914fd51b9ad3b3ac0b556af807
Author: Jeffrey Byrnes <JeffreyByrnes at amd.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
A llvm/test/CodeGen/AMDGPU/schedule-ilp-liveness-tracking.mir
Log Message:
-----------
[AMDGPU] Track liveins for max-ilp-sched-strategy
Even if optimizing for ILP, it is still useful to track RP to avoid spilling. Given that, we need to maintin consistent liveness state with the RP tracker. This patch makes RP tracking consistent by updating for liveins.
Otherwise, we should completely eliminate RP tracking for this scheduler (checkScheduling, initCandidate).
Differential Revision: https://reviews.llvm.org/D149358
More information about the All-commits
mailing list