summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/class-extension-dup-methods.m
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
commit709c951b42f78de2ee5da58d1e57a9d622257e7c (patch)
tree8cd16e5a8a5324897fd709a27867f51437897928 /clang/test/SemaObjC/class-extension-dup-methods.m
parent7c8743da5988d150ad5672554e80076eb7ad8068 (diff)
downloadbcm5719-llvm-709c951b42f78de2ee5da58d1e57a9d622257e7c.tar.gz
bcm5719-llvm-709c951b42f78de2ee5da58d1e57a9d622257e7c.zip
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. llvm-svn: 202557
Diffstat (limited to 'clang/test/SemaObjC/class-extension-dup-methods.m')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud