Select lower sub,abs pattern to sabd on AArch64
authorKarthik Bhat <kv.bhat@samsung.com>
Mon, 5 Jan 2015 13:11:07 +0000 (13:11 +0000)
committerKarthik Bhat <kv.bhat@samsung.com>
Mon, 5 Jan 2015 13:11:07 +0000 (13:11 +0000)
commit8ec742c2f9c12e463365f97d25103dc2d095d7b3
treed4a43bd6df4c6299555877d0fe4dda42fd76f2be
parent6ae456b0d708236fdbcaa76a50971fbd94caaeaa
Select lower sub,abs pattern to sabd on AArch64

This patch lowers patterns such as-
  sub v0.4s, v0.4s, v1.4s
  abs v0.4s, v0.4s
to
  sabd v0.4s, v0.4s, v1.4s
on AArch64.

Review: http://reviews.llvm.org/D6781
llvm-svn: 225165
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/arm64-neon-simd-vabs.ll [new file with mode: 0644]