[PATCH] D33086: [AMDGPU] Fix incorrect register pressure calculation

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 08:42:43 PDT 2017


rampitec added inline comments.


================
Comment at: lib/Target/AMDGPU/GCNSchedStrategy.cpp:426
+  auto I = begin();
+  for (auto const E = I->getParent()->end(); I != E; ++I)
+    if (!I->isDebugValue())
----------------
vpykhtin wrote:
> you can use skipDebugInstructionsForward from MachineBasicBlock.h for the same purpose
Thanks.


Repository:
  rL LLVM

https://reviews.llvm.org/D33086





More information about the llvm-commits mailing list