llvm.org GIT mirror llvm / a7de8a6
Stack Coloring: When searching for disjoint regions, do not compare intervals twice or to theirself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163508 91177308-0d34-0410-b5e6-96231b3b80d8 Nadav Rotem 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
629629 if (SortedSlots[I] == -1)
630630 continue;
631631
632 for (unsigned J=0; J < NumSlots; ++J) {
632 for (unsigned J=I+1; J < NumSlots; ++J) {
633633 if (SortedSlots[J] == -1)
634634 continue;
635635