[clang] [AArch64][SME] Remove immediate argument restriction for svldr and svstr (PR #68565)

Sander de Smalen via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 10 01:23:35 PDT 2023


================
@@ -2680,9 +2680,9 @@ let TargetPrefix = "aarch64" in {
 
   // Spill + fill
   def int_aarch64_sme_ldr : DefaultAttrsIntrinsic<
-    [], [llvm_i32_ty, llvm_ptr_ty]>;
+    [], [llvm_i32_ty, llvm_i32_ty, llvm_ptr_ty], [ImmArg<ArgIndex<1>>]>;
----------------
sdesmalen-arm wrote:

Is it easier to add the `vnum` argument last, so that you don't need to swap the operands in CGBuiltins?

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


More information about the cfe-commits mailing list