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 Preserve line no. info. 2011-03-07 22:43:45 +00:00
lit.local.cfg Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed. 2012-02-16 06:28:33 +00:00
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 LoopIdiom: Give up when the loop is not in canonical form. 2012-09-21 17:27:23 +00:00
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