mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 19:03:50 +00:00
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
This commit is contained in:
parent
e47feeb823
commit
a7de8a61df
@ -630,7 +630,7 @@ bool StackColoring::runOnMachineFunction(MachineFunction &Func) {
|
||||
if (SortedSlots[I] == -1)
|
||||
continue;
|
||||
|
||||
for (unsigned J=0; J < NumSlots; ++J) {
|
||||
for (unsigned J=I+1; J < NumSlots; ++J) {
|
||||
if (SortedSlots[J] == -1)
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user