summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2014-02-28 23:05:31 +0000
committerManman Ren <manman.ren@gmail.com>2014-02-28 23:05:31 +0000
commit5de568068963748c789a42777f1e7f9fade7403b (patch)
treecf769e8cf85db73df7943eae92990fdabffd878f /test/MC
parentc1d2eda56567d3e1d8e3b85f06a5c3bd068ae29d (diff)
downloadllvm-5de568068963748c789a42777f1e7f9fade7403b.tar.gz
llvm-5de568068963748c789a42777f1e7f9fade7403b.tar.bz2
llvm-5de568068963748c789a42777f1e7f9fade7403b.tar.xz
SpillPlacement: fix a bug in iterate.
Inside iterate, we scan backwards then scan forwards in a loop. When iteration is not zero, the last node was just updated so we can skip it. But when iteration is zero, we can't skip the last node. For the testing case, fixing this will save a spill and move register copies from hot path to cold path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
0 files changed, 0 insertions, 0 deletions