summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2014-02-21 23:42:41 +0000
committerQuentin Colombet <qcolombet@apple.com>2014-02-21 23:42:41 +0000
commit4db08df18e6f3ca85c045a2128d35e5665e303eb (patch)
tree1b94ccfeced5e4987a72660adbc5b5d586c402fd /clang/lib/CodeGen/BackendUtil.cpp
parentd51ba0b39f210da53d4edbf386d4df6e3e8b18e2 (diff)
downloadbcm5719-llvm-4db08df18e6f3ca85c045a2128d35e5665e303eb.tar.gz
bcm5719-llvm-4db08df18e6f3ca85c045a2128d35e5665e303eb.zip
[DAGCombiner] PCMP* sets its result to all ones or zeros so we can AND with the
shifted mask rather than masking and shifting separately. The patch adds this transformation to the DAGCombiner:   (shl (and (setcc:i8v16 ...) N01C) N1C) -> (and (setcc:i8v16 ...) N01C<<N1C) <rdar://problem/16054492> Patch by Adam Nemet <anemet@apple.com> llvm-svn: 201906
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud