[PATCH] D22195: AMDGPU: Move SIWholeQuadMode pass to after machine scheduling

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 18:54:21 PDT 2016


arsenm added inline comments.

================
Comment at: lib/Target/AMDGPU/SIWholeQuadMode.cpp:166-169
@@ -133,2 +165,6 @@
   void getAnalysisUsage(AnalysisUsage &AU) const override {
+    AU.addRequired<LiveIntervals>();
+    AU.addPreserved<LiveIntervals>();
+    AU.addRequired<SlotIndexes>();
+    AU.addPreserved<SlotIndexes>();
     AU.setPreservesCFG();
----------------
I think you need to add the corresponding passes with INITIALIZE_PASS_DEPENDENCY


http://reviews.llvm.org/D22195





More information about the llvm-commits mailing list