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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 15:39:04 PDT 2016


arsenm added inline comments.

================
Comment at: lib/Target/AMDGPU/SIWholeQuadMode.cpp:688
@@ +687,3 @@
+    for (auto &BII : Blocks)
+      processBlock(const_cast<MachineBasicBlock &>(*BII.first), LiveMaskReg,
+                   BII.first == &*MF.begin());
----------------
You shouldn't need a const_cast (I thought I had a patch that fixed this before)


https://reviews.llvm.org/D22195





More information about the llvm-commits mailing list