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 | 388fc6a988b56a50efff57893a4df14b4d04e1cd (patch) | |
tree | 1ef73286c3a9317acb791432b39bddb31b746c0e /lib/MC/MCAsmStreamer.cpp | |
parent | d12de955856204db4cabdd9bcabc82c22d0e85f2 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmStreamer.cpp')
0 files changed, 0 insertions, 0 deletions