[PATCH] D30660: AMDGPU: Don't wait at end of block with a trivial successor
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 6 11:31:29 PST 2017
tstellar added inline comments.
================
Comment at: lib/Target/AMDGPU/SIInsertWaits.cpp:537-538
+ // Must be the next block.
+ return MachineFunction::const_iterator(&MBB) ==
+ std::prev(MachineFunction::const_iterator(Succ));
+}
----------------
MBB.isLayoutSuccessor() ?
https://reviews.llvm.org/D30660
More information about the llvm-commits
mailing list