llvm-6502/lib/Transforms
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
..
Hello
InstCombine
Instrumentation
IPO No need to run LICM after loop vectorization because we dont generate invariant code any more. 2012-11-29 19:28:29 +00:00
Scalar rdar://12100355 (part 1) 2012-11-29 19:38:54 +00:00
Utils instcombine: Migrate puts optimizations 2012-11-29 19:15:17 +00:00
Vectorize When broadcasting invariant scalars into vectors, place the broadcast code in the preheader. 2012-11-29 19:25:41 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile