aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-12-15 16:47:44 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-12-15 16:47:44 +0000
commitb16ccde7a42f8e2b1870338e93c4608660fbd2a2 (patch)
tree65873ba802f83de5648c36d81bb68356d9c49bf0 /clang/lib/Basic/SourceManager.cpp
parentace09a2466e6bf371d5e333d90d4273ac3826996 (diff)
downloadllvm-b16ccde7a42f8e2b1870338e93c4608660fbd2a2.zip
llvm-b16ccde7a42f8e2b1870338e93c4608660fbd2a2.tar.gz
llvm-b16ccde7a42f8e2b1870338e93c4608660fbd2a2.tar.bz2
X86: Add a couple of target-specific dag combines that turn VSELECTS into psubus if possible.
We match the pattern "x >= y ? x-y : 0" into "subus x, y" and two special cases if y is a constant. DAGCombiner canonicalizes those so we first have to undo the canonicalization for those cases. The pattern occurs in gzip when the loop vectorizer is enabled. Part of PR14613. llvm-svn: 170273
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions