llvm-6502/test/Transforms/LoopIdiom
Shuxin Yang 84fca61ca5 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!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168931 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-29 19:38:54 +00:00
..
basic.ll Add a testcase to loop-idiom to cover PR14241 when we start handling 2012-11-02 08:40:24 +00:00
crash.ll DependenceAnalysis: Don't crash if there is no constant operand. 2012-10-31 09:20:38 +00:00
debug-line.ll
lit.local.cfg
memset_noidiom.ll Revert the switch of loop-idiom to use the new dependence analysis. 2012-11-02 08:33:25 +00:00
non-canonical-loop.ll
popcnt.ll rdar://12100355 (part 1) 2012-11-29 19:38:54 +00:00
scev-invalidation.ll LCSSA: Add a workaround for another nasty SCEV cache invalidation issue. 2012-10-31 10:01:29 +00:00