[PATCH] D32572: AMDGPU: Fix assert in scheduler
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 16:38:35 PDT 2017
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/GCNSchedStrategy.cpp:426
+ if (begin()->isDebugValue())
+ return;
+
----------------
rampitec wrote:
> I believe you need to skip it, not ignore the whole block.
I think you just want getFirstNonDebugInstr instead of begin later
https://reviews.llvm.org/D32572
More information about the llvm-commits
mailing list