[PATCH] D59698: AMDGPU: Preserve LiveIntervals in WQM

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 08:00:51 PDT 2019


arsenm created this revision.
arsenm added reviewers: nhaehnle, sheredom, cwabbott.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl.

This seems to already be done, but wasn't marked.


https://reviews.llvm.org/D59698

Files:
  lib/Target/AMDGPU/SIWholeQuadMode.cpp


Index: lib/Target/AMDGPU/SIWholeQuadMode.cpp
===================================================================
--- lib/Target/AMDGPU/SIWholeQuadMode.cpp
+++ lib/Target/AMDGPU/SIWholeQuadMode.cpp
@@ -200,6 +200,8 @@
 
   void getAnalysisUsage(AnalysisUsage &AU) const override {
     AU.addRequired<LiveIntervals>();
+    AU.addPreserved<SlotIndexes>();
+    AU.addPreserved<LiveIntervals>();
     AU.setPreservesCFG();
     MachineFunctionPass::getAnalysisUsage(AU);
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59698.191881.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190322/13d69414/attachment.bin>


More information about the llvm-commits mailing list