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

Dinar Temirbulatov via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 11 02:34:34 PDT 2023


================
@@ -292,7 +310,7 @@ define void @ldr_with_off_16mulvl(ptr %ptr) {
   %vscale = call i64 @llvm.vscale.i64()
   %mulvl = mul i64 %vscale, 256
   %base = getelementptr i8, ptr %ptr, i64 %mulvl
-  call void @llvm.aarch64.sme.ldr(i32 16, ptr %base)
+  call void @llvm.aarch64.sme.ldr(i32 16, i32 0, ptr %base)
----------------
dtemirbulatov wrote:

Maybe test non zero second parameter to see how it apllied in LDR instruction?

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


More information about the cfe-commits mailing list