[PATCH] D32938: [ARM][NEON] Add support for ISD::ABS lowering

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 6 07:05:21 PDT 2017


RKSimon created this revision.
Herald added subscribers: javed.absar, aemerson.

Update NEON int_arm_neon_vabs intrinsic to use the ISD::ABS opcode directly

Added constant folding tests - I'm not sure what is the accepted ARM approach for testing constants.


Repository:
  rL LLVM

https://reviews.llvm.org/D32938

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMInstrNEON.td
  test/CodeGen/ARM/vabs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32938.98063.patch
Type: text/x-patch
Size: 5278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170506/b120ccc0/attachment.bin>


More information about the llvm-commits mailing list