[PATCH] D27261: [SelectionDAG] Do not increment SDNodeOrder for debug intrinsics.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 11:17:13 PST 2016


aprantl 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())
----------------
Any way the purpose of this condition could be documented?


https://reviews.llvm.org/D27261





More information about the llvm-commits mailing list