[llvm] r356922 - AMDGPU: Preserve LiveIntervals in WQM
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 09:47:42 PDT 2019
Author: arsenm
Date: Mon Mar 25 09:47:42 2019
New Revision: 356922
URL: http://llvm.org/viewvc/llvm-project?rev=356922&view=rev
Log:
AMDGPU: Preserve LiveIntervals in WQM
This seems to already be done, but wasn't marked.
Modified:
llvm/trunk/lib/Target/AMDGPU/SIWholeQuadMode.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SIWholeQuadMode.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIWholeQuadMode.cpp?rev=356922&r1=356921&r2=356922&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIWholeQuadMode.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIWholeQuadMode.cpp Mon Mar 25 09:47:42 2019
@@ -200,6 +200,8 @@ public:
void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.addRequired<LiveIntervals>();
+ AU.addPreserved<SlotIndexes>();
+ AU.addPreserved<LiveIntervals>();
AU.setPreservesCFG();
MachineFunctionPass::getAnalysisUsage(AU);
}
More information about the llvm-commits
mailing list