diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-15 16:47:44 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-15 16:47:44 +0000 |
commit | b16ccde7a42f8e2b1870338e93c4608660fbd2a2 (patch) | |
tree | 65873ba802f83de5648c36d81bb68356d9c49bf0 /clang/lib/Basic/SourceManager.cpp | |
parent | ace09a2466e6bf371d5e333d90d4273ac3826996 (diff) | |
download | llvm-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