Implements the @llvm.aarch64.sve.index intrinsic, which
takes a scalar base and step value.
This patch also adds the printSImm function to AArch64InstPrinter
to ensure that immediates of type i8 & i16 are printed correctly.
Paths
| Differential D74550
[AArch64][SVE] Add SVE index intrinsic ClosedPublic Authored by kmclaughlin on Feb 13 2020, 5:40 AM.
Details Summary Implements the @llvm.aarch64.sve.index intrinsic, which This patch also adds the printSImm function to AArch64InstPrinter
Diff Detail
Event TimelineComment Actions LGTM
This revision is now accepted and ready to land.Feb 13 2020, 7:36 AM
Comment Actions
Closed by commit rG633db60f3ed0: [AArch64][SVE] Add SVE index intrinsic (authored by kmclaughlin). · Explain WhyFeb 17 2020, 2:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 244933 llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64InstrFormats.td
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.h
llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve-intrinsics-index.ll
|
Nit: The return type should really be something like llvm_anyintvector_ty, but I don't think there's a way to express that right now.