ARM: add natural patterns for vaddhl and vsubhl.
authorTim Northover <tnorthover@apple.com>
Tue, 27 Aug 2013 10:31:36 +0000 (10:31 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 27 Aug 2013 10:31:36 +0000 (10:31 +0000)
commitc59efb626a7a11ec661981e96ba09bba0497b731
treebeb23c6eee41bb68d9974199d8ce1c4933ee8361
parent845ad06efb3b806726427f637911e69db31f4221
ARM: add natural patterns for vaddhl and vsubhl.

These instructions aren't particularly complicated and it's well worth having
patterns for some reasonably useful LLVM IR that will match them. Soon we
should be able to switch Clang over to producing this natural version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189335 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrNEON.td
test/CodeGen/ARM/vadd.ll
test/CodeGen/ARM/vsub.ll