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 /compiler-rt/lib/sanitizer_common/sanitizer_allocator.h | |
| parent | ace09a2466e6bf371d5e333d90d4273ac3826996 (diff) | |
| download | bcm5719-llvm-b16ccde7a42f8e2b1870338e93c4608660fbd2a2.tar.gz bcm5719-llvm-b16ccde7a42f8e2b1870338e93c4608660fbd2a2.zip | |
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 'compiler-rt/lib/sanitizer_common/sanitizer_allocator.h')
0 files changed, 0 insertions, 0 deletions

