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

Kerry McLaughlin via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 07:50:35 PDT 2023


================
@@ -8,31 +8,28 @@
 // CHECK-C-LABEL: @test_svstr_vnum_za(
 // CHECK-CXX-LABEL: @_Z18test_svstr_vnum_zajPv(
 // CHECK-NEXT:  entry:
-// CHECK-NEXT:    tail call void @llvm.aarch64.sme.str(i32 [[SLICE_BASE:%.*]], ptr [[PTR:%.*]])
+// CHECK-NEXT:    tail call void @llvm.aarch64.sme.str(i32 [[SLICE_BASE]], i32 0, ptr [[PTR]])
 // CHECK-NEXT:    ret void
 //
 void test_svstr_vnum_za(uint32_t slice_base, void *ptr) {
   svstr_vnum_za(slice_base, ptr, 0);
 }
 
-// CHECK-C-LABEL: @test_svstr_vnum_za_1(
-// CHECK-CXX-LABEL: @_Z20test_svstr_vnum_za_1jPv(
+// CHECK-C-LABEL: define dso_local void @test_svstr_vnum_za_1(
----------------
kmclaughlin-arm wrote:

Since the other tests don't check for `define dso_local void`, I don't think it's necessary here

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


More information about the llvm-commits mailing list