-
Notifications
You must be signed in to change notification settings - Fork 14.8k
[AMDGPU] Use LV wrapperPass in getAnalysisUsage. #123044
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. |
@llvm/pr-subscribers-backend-amdgpu Author: Christudasan Devadasan (cdevadas) ChangesFull diff: https://github.com/llvm/llvm-project/pull/123044.diff 1 Files Affected:
diff --git a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
index 722a79be915dcb..ed5390b96ed4b5 100644
--- a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
+++ b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
@@ -152,7 +152,7 @@ class SILowerControlFlow : public MachineFunctionPass {
AU.addPreserved<MachineDominatorTreeWrapperPass>();
AU.addPreserved<SlotIndexesWrapperPass>();
AU.addPreserved<LiveIntervalsWrapperPass>();
- AU.addPreservedID(LiveVariablesID);
+ AU.addPreserved<LiveVariablesWrapperPass>();
MachineFunctionPass::getAnalysisUsage(AU);
}
};
|
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.
Doesn't really matter. The only reason to use the id is to avoid an include
a244f33
to
590e6e6
Compare
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/12931 Here is the relevant piece of the build log for the reference
|
No description provided.