[PATCH] D33086: [AMDGPU] Fix incorrect register pressure calculation
Valery Pykhtin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 11 08:29:46 PDT 2017
vpykhtin 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())
----------------
you can use skipDebugInstructionsForward from MachineBasicBlock.h for the same purpose
Repository:
rL LLVM
https://reviews.llvm.org/D33086
More information about the llvm-commits
mailing list