diff options
author | Manman Ren <mren@apple.com> | 2012-06-15 21:32:12 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-06-15 21:32:12 +0000 |
commit | 307473dec0e2fa966037d04725a40b33669dddc8 (patch) | |
tree | bf59f915327ca87811406874fc88a9a46b692f9e /lib/Target/ARM/AsmParser/ARMAsmParser.cpp | |
parent | 695fd1a4555aae6cef9292d0d39967a949ea8782 (diff) |
ARM: optimization for sub+abs.
This patch will optimize abs(x-y)
FROM
sub, movs, rsbmi
TO
subs, rsbmi
For abs, we will use cmp instead of movs. This is necessary because we already
have an existing peephole pass which optimizes away cmp following sub.
rdar: 11633193
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
0 files changed, 0 insertions, 0 deletions