summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorShuxin Yang <shuxin.llvm@gmail.com>2012-11-29 19:38:54 +0000
committerShuxin Yang <shuxin.llvm@gmail.com>2012-11-29 19:38:54 +0000
commitabcc370423170abd4d6cc62d5e431cf1d7db2f71 (patch)
tree8c86b529c8195e1472cb81e9765739bc81a9882d /llvm/lib/Object/MachOObjectFile.cpp
parenta4a77edf2e27dc8a24ac3323c48a2c7201fccbda (diff)
downloadbcm5719-llvm-abcc370423170abd4d6cc62d5e431cf1d7db2f71.tar.gz
bcm5719-llvm-abcc370423170abd4d6cc62d5e431cf1d7db2f71.zip
rdar://12100355 (part 1)
This revision attempts to recognize following population-count pattern: while(a) { c++; ... ; a &= a - 1; ... }, where <c> and <a>could be used multiple times in the loop body. TODO: On X8664 and ARM, __buildin_ctpop() are not expanded to a efficent instruction sequence, which need to be improved in the following commits. Reviewed by Nadav, really appreciate! llvm-svn: 168931
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud