- 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
This commit is contained in:
Shuxin Yang
2012-12-09 03:12:46 +00:00
parent 9472b4fbf9
commit 5518a1355b
8 changed files with 699 additions and 40 deletions

View File

@ -26,7 +26,7 @@ class TargetLowering;
/// ScalarTargetTransformInfo interface. Different targets can implement
/// this interface differently.
class ScalarTargetTransformImpl : public ScalarTargetTransformInfo {
private:
protected:
const TargetLowering *TLI;
public: