[llvm] [AMDGPU] Use LV wrapperPass in getAnalysisUsage. (PR #123044)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 15 03:49:48 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Christudasan Devadasan (cdevadas)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/123044.diff
1 Files Affected:
- (modified) llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp (+1-1)
``````````diff
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);
}
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/123044
More information about the llvm-commits
mailing list