summaryrefslogtreecommitdiff
path: root/lib/MC/MCObjectStreamer.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
commit388fc6a988b56a50efff57893a4df14b4d04e1cd (patch)
tree1ef73286c3a9317acb791432b39bddb31b746c0e /lib/MC/MCObjectStreamer.cpp
parentd12de955856204db4cabdd9bcabc82c22d0e85f2 (diff)
downloadllvm-388fc6a988b56a50efff57893a4df14b4d04e1cd.tar.gz
llvm-388fc6a988b56a50efff57893a4df14b4d04e1cd.tar.bz2
llvm-388fc6a988b56a50efff57893a4df14b4d04e1cd.tar.xz
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/MCObjectStreamer.cpp')
0 files changed, 0 insertions, 0 deletions