[AArch64][SVE] Implement abs and neg intrinsics
authorCullen Rhodes <cullen.rhodes@arm.com>
Mon, 9 Sep 2019 11:21:14 +0000 (11:21 +0000)
committerCullen Rhodes <cullen.rhodes@arm.com>
Mon, 9 Sep 2019 11:21:14 +0000 (11:21 +0000)
commit55244beeee8ad0fd21c0f6a98996ff11301e397c
tree28f3a1424d5da7d82989c3ce5c3118e950a8807b
parentd936a6301bd34ef991ff5630d06607315f34e6e7
[AArch64][SVE] Implement abs and neg intrinsics

Summary:
This patch implements two arithmetic intrinsics:

      * int_aarch64_sve_abs
      * int_aarch64_sve_neg

testing the support for scalable vector types in intrinsics added in D65930.

Reviewed By: greened

Differential Revision: https://reviews.llvm.org/D65931

llvm-svn: 371388
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve-intrinsics-int-arith.ll [new file with mode: 0644]