diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-04-26 09:19:19 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-04-26 09:19:19 +0000 |
commit | 6242fda42ad13eebc908e744426ae7bc8cf8d1c3 (patch) | |
tree | 71212f305027e461844fc0631056819517c0d0ea /lib/Transforms/Utils/Local.cpp | |
parent | 7557e521e50180817a165f8c897220b0e2020b7b (diff) |
DAGCombiner: Canonicalize vector integer abs in the same way we do it for scalars.
This already helps SSE2 x86 a lot because it lacks an efficient way to
represent a vector select. The long term goal is to enable the backend to match
a canonicalized pattern into a single instruction (e.g. vabs or pabs).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions