[PATCH] D27261: [SelectionDAG] Do not increment SDNodeOrder for debug intrinsics.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 30 12:24:47 PST 2016
fhahn marked an inline comment as done.
fhahn added inline comments.
================
Comment at: lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp:873
for (; DI != DE &&
- (*DI)->getOrder() >= LastOrder && (*DI)->getOrder() < Order; ++DI) {
+ (*DI)->getOrder() >= LastOrder && (*DI)->getOrder() <= Order; ++DI) {
if ((*DI)->isInvalidated())
----------------
aprantl wrote:
> Any way the purpose of this condition could be documented?
I hope my comment change makes is clearer.
https://reviews.llvm.org/D27261
More information about the llvm-commits
mailing list