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.
Paths
| Differential D65931
[AArch64][SVE] Implement abs and neg intrinsics ClosedPublic Authored by c-rhodes on Aug 8 2019, 2:31 AM.
Details Summary This patch implements two arithmetic intrinsics:
testing the support for scalable vector types in intrinsics added in D65930.
Diff Detail
Event Timelinec-rhodes added a parent revision: D65930: [IntrinsicEmitter] Support scalable vectors in intrinsics.Aug 8 2019, 2:31 AM
Comment Actions @greened sorry for the delayed response, thanks for taking a look at this.
Comment Actions
The scope of this patch is to add codegen support for the intrinsics now defined in the earlier patch (I still need to update this patch to remove the intrinsic def) to give us what we need on the LLVM side to start supporting the Arm C Language Extensions (ACLE) intrinsics, for which we don't need any changes to match generic ISD nodes at the moment. We plan to start upstreaming more generic codegen later.
This revision is now accepted and ready to land.Sep 5 2019, 7:16 AM Closed by commit rL371388: [AArch64][SVE] Implement abs and neg intrinsics (authored by c-rhodes). · Explain WhySep 9 2019, 4:19 AM This revision was automatically updated to reflect the committed changes. c-rhodes marked an inline comment as done.
Revision Contents
Diff 219321 llvm/trunk/include/llvm/IR/IntrinsicsAArch64.td
llvm/trunk/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/trunk/lib/Target/AArch64/SVEInstrFormats.td
llvm/trunk/test/CodeGen/AArch64/sve-intrinsics-int-arith.ll
|