Select lower fsub,fabs pattern to fabd on AArch64
authorKarthik Bhat <kv.bhat@samsung.com>
Mon, 5 Jan 2015 13:57:59 +0000 (13:57 +0000)
committerKarthik Bhat <kv.bhat@samsung.com>
Mon, 5 Jan 2015 13:57:59 +0000 (13:57 +0000)
commit93f27ce886e1d061f8fef8b0d690aa680f3c4b8a
treeba2e5e8f019b5cbc2e6fb861a5e7066608bac3a1
parent7a45e8794fcc06c7b7a7a89b3cf0cb7e4e12a116
Select lower fsub,fabs pattern to fabd on AArch64
This patch lowers patterns such as-
  fsub   v0.4s, v0.4s, v1.4s
  fabs   v0.4s, v0.4s
to
  fabd  v0.4s, v0.4s, v1.4s
on AArch64.

Review: http://reviews.llvm.org/D6791
llvm-svn: 225169
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/arm64-neon-simd-vabs.ll