- Re-enable population count loop idiom recognization
authorShuxin Yang <shuxin.llvm@gmail.com>
Sun, 9 Dec 2012 03:12:46 +0000 (03:12 +0000)
committerShuxin Yang <shuxin.llvm@gmail.com>
Sun, 9 Dec 2012 03:12:46 +0000 (03:12 +0000)
commit5518a1355b8b09bf92419b65ea4e4854734b0ebc
tree65b45feeb37acada71ab18f03a9f5b358272e3e7
parent9472b4fbf96fb840eb416acd00bbee173c62e8da
- Re-enable population count loop idiom recognization
- fix a bug which cause sigfault.
- add two testing cases which was causing crash

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169687 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetTransformImpl.h
include/llvm/TargetTransformInfo.h
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86TargetMachine.h
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
test/Transforms/LoopIdiom/X86/lit.local.cfg [new file with mode: 0644]
test/Transforms/LoopIdiom/X86/popcnt.ll [new file with mode: 0644]