[clang] [llvm] [AArch64] [SVE] Created intrinsics for DUPQ instr. (PR #83260)

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 4 09:53:25 PST 2024


================
@@ -2215,6 +2215,15 @@ let TargetGuard = "sve2p1" in {
   def SVTBXQ : SInst<"svtbxq[_{d}]", "dddu", "cUcsUsiUilUlbhfd", MergeNone, "aarch64_sve_tbxq">;
   // EXTQ
   def EXTQ : SInst<"svextq[_{d}]", "dddk", "cUcsUsiUilUlbhfd", MergeNone, "aarch64_sve_extq", [], [ImmCheck<2, ImmCheck0_15>]>;
+  // DUPQ
+  def SVDUP_LANEQ_B  : SInst<"svdup_laneq[_{d}]", "ddi",  "cUc", MergeNone, "aarch64_sve_dup_laneq", [IsStreamingCompatible], [ImmCheck<1, ImmCheck0_15>]>;
----------------
CarolineConcatto wrote:

We should add test in Sema for the immediate in:
clang/test/Sema/aarch64-sve2p1-intrinsics/acle_sve2p1_imm.cpp

https://github.com/llvm/llvm-project/pull/83260


More information about the cfe-commits mailing list