-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[AMDGPU] Correct pass dependencies for SILowerSGPRSpills #109937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @optimisan and the rest of your teammates on |
@llvm/pr-subscribers-backend-amdgpu Author: Akshat Oke (Akshat-Oke) ChangesFull diff: https://github.com/llvm/llvm-project/pull/109937.diff 1 Files Affected:
diff --git a/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp b/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
index d385261184e718..dcdac5a0942ab4 100644
--- a/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
+++ b/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
@@ -83,7 +83,7 @@ char SILowerSGPRSpillsLegacy::ID = 0;
INITIALIZE_PASS_BEGIN(SILowerSGPRSpillsLegacy, DEBUG_TYPE,
"SI lower SGPR spill instructions", false, false)
INITIALIZE_PASS_DEPENDENCY(LiveIntervalsWrapperPass)
-INITIALIZE_PASS_DEPENDENCY(VirtRegMapWrapperPass)
+INITIALIZE_PASS_DEPENDENCY(SlotIndexesWrapperPass)
INITIALIZE_PASS_END(SILowerSGPRSpillsLegacy, DEBUG_TYPE,
"SI lower SGPR spill instructions", false, false)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description needs to be more specific
091304c
to
b1d74ad
Compare
ea4b201
to
7b68d9f
Compare
Bump |
7b68d9f
to
a1925ae
Compare
ping |
Fix the description |
b1d74ad
to
ccf824b
Compare
a1925ae
to
ca68507
Compare
Also updated in PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description still not fixed
ccf824b
to
ff93403
Compare
ca68507
to
db91ca0
Compare
ff93403
to
a3d67dd
Compare
db91ca0
to
dee5a29
Compare
I think this describes it better? |
a3d67dd
to
8a82e45
Compare
dee5a29
to
2cd5b9b
Compare
8a82e45
to
cb4a3b2
Compare
Replace the unused analysis (VirtRegMap) dependency with the used one (SlotIndexes). This initializes `SlotIndexesWrapperPass` which is used by SILowerSGPRSpills to ensure that legacy pass manager finds it. Removes the initialization for `VirtRegMapWrapperLegacy` pass since it is not requested in this pass.
2cd5b9b
to
8dbbf81
Compare
Replace unused analysis (VirtRegMap) dependency with the used one (SlotIndexes)
Initializes
SlotIndexesWrapperPass
which is used by SILowerSGPRSpills to ensure that legacy pass manager finds it.Removes the initialization for
VirtRegMapWrapperPass
since it is not requested in this pass.