Skip to content

Commit b0e24d1

Browse files
authored
[RISCV] Use opaque pointers in some tests. NFC (llvm#127906)
1 parent 5622f22 commit b0e24d1

File tree

6 files changed

+188
-188
lines changed

6 files changed

+188
-188
lines changed

llvm/test/CodeGen/RISCV/rvv/masked-tama.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ declare { <vscale x 1 x i64>, iXLen } @llvm.riscv.vleff.mask.nxv1i64(
3434
iXLen,
3535
iXLen);
3636

37-
define <vscale x 1 x i64> @intrinsic_vleff_mask_v_nxv1i64_nxv1i64(ptr %0, <vscale x 1 x i1> %1, iXLen %2, iXLen* %3) nounwind {
37+
define <vscale x 1 x i64> @intrinsic_vleff_mask_v_nxv1i64_nxv1i64(ptr %0, <vscale x 1 x i1> %1, iXLen %2, ptr %3) nounwind {
3838
; RV32-LABEL: intrinsic_vleff_mask_v_nxv1i64_nxv1i64:
3939
; RV32: # %bb.0: # %entry
4040
; RV32-NEXT: vsetvli zero, a1, e64, m1, ta, ma
@@ -58,7 +58,7 @@ entry:
5858
iXLen %2, iXLen 3)
5959
%b = extractvalue { <vscale x 1 x i64>, iXLen } %a, 0
6060
%c = extractvalue { <vscale x 1 x i64>, iXLen } %a, 1
61-
store iXLen %c, iXLen* %3
61+
store iXLen %c, ptr %3
6262

6363
ret <vscale x 1 x i64> %b
6464
}

llvm/test/CodeGen/RISCV/rvv/masked-tamu.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare { <vscale x 1 x i64>, iXLen } @llvm.riscv.vleff.mask.nxv1i64(
3232
<vscale x 1 x i1>,
3333
iXLen,
3434
iXLen)
35-
define <vscale x 1 x i64> @intrinsic_vleff_mask_v_nxv1i64_nxv1i64(<vscale x 1 x i64> %0, ptr %1, <vscale x 1 x i1> %2, iXLen %3, iXLen* %4) nounwind {
35+
define <vscale x 1 x i64> @intrinsic_vleff_mask_v_nxv1i64_nxv1i64(<vscale x 1 x i64> %0, ptr %1, <vscale x 1 x i1> %2, iXLen %3, ptr %4) nounwind {
3636
; RV32-LABEL: intrinsic_vleff_mask_v_nxv1i64_nxv1i64:
3737
; RV32: # %bb.0: # %entry
3838
; RV32-NEXT: vsetvli zero, a1, e64, m1, ta, mu
@@ -56,7 +56,7 @@ entry:
5656
iXLen %3, iXLen 1)
5757
%b = extractvalue { <vscale x 1 x i64>, iXLen } %a, 0
5858
%c = extractvalue { <vscale x 1 x i64>, iXLen } %a, 1
59-
store iXLen %c, iXLen* %4
59+
store iXLen %c, ptr %4
6060

6161
ret <vscale x 1 x i64> %b
6262
}

llvm/test/CodeGen/RISCV/rvv/masked-tuma.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare { <vscale x 1 x i64>, iXLen } @llvm.riscv.vleff.mask.nxv1i64(
3232
<vscale x 1 x i1>,
3333
iXLen,
3434
iXLen)
35-
define <vscale x 1 x i64> @intrinsic_vleff_mask_v_nxv1i64_nxv1i64(<vscale x 1 x i64> %0, ptr %1, <vscale x 1 x i1> %2, iXLen %3, iXLen* %4) nounwind {
35+
define <vscale x 1 x i64> @intrinsic_vleff_mask_v_nxv1i64_nxv1i64(<vscale x 1 x i64> %0, ptr %1, <vscale x 1 x i1> %2, iXLen %3, ptr %4) nounwind {
3636
; RV32-LABEL: intrinsic_vleff_mask_v_nxv1i64_nxv1i64:
3737
; RV32: # %bb.0: # %entry
3838
; RV32-NEXT: vsetvli zero, a1, e64, m1, tu, ma
@@ -56,7 +56,7 @@ entry:
5656
iXLen %3, iXLen 2)
5757
%b = extractvalue { <vscale x 1 x i64>, iXLen } %a, 0
5858
%c = extractvalue { <vscale x 1 x i64>, iXLen } %a, 1
59-
store iXLen %c, iXLen* %4
59+
store iXLen %c, ptr %4
6060

6161
ret <vscale x 1 x i64> %b
6262
}

llvm/test/CodeGen/RISCV/rvv/masked-tumu.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare { <vscale x 1 x i64>, iXLen } @llvm.riscv.vleff.mask.nxv1i64(
3232
<vscale x 1 x i1>,
3333
iXLen,
3434
iXLen)
35-
define <vscale x 1 x i64> @intrinsic_vleff_mask_v_nxv1i64_nxv1i64(<vscale x 1 x i64> %0, ptr %1, <vscale x 1 x i1> %2, iXLen %3, iXLen* %4) nounwind {
35+
define <vscale x 1 x i64> @intrinsic_vleff_mask_v_nxv1i64_nxv1i64(<vscale x 1 x i64> %0, ptr %1, <vscale x 1 x i1> %2, iXLen %3, ptr %4) nounwind {
3636
; RV32-LABEL: intrinsic_vleff_mask_v_nxv1i64_nxv1i64:
3737
; RV32: # %bb.0: # %entry
3838
; RV32-NEXT: vsetvli zero, a1, e64, m1, tu, mu
@@ -56,7 +56,7 @@ entry:
5656
iXLen %3, iXLen 0)
5757
%b = extractvalue { <vscale x 1 x i64>, iXLen } %a, 0
5858
%c = extractvalue { <vscale x 1 x i64>, iXLen } %a, 1
59-
store iXLen %c, iXLen* %4
59+
store iXLen %c, ptr %4
6060

6161
ret <vscale x 1 x i64> %b
6262
}

llvm/test/CodeGen/RISCV/rvv/unmasked-tu.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ declare { <vscale x 1 x i8>, iXLen } @llvm.riscv.vleff(
5252
ptr,
5353
iXLen);
5454

55-
define <vscale x 1 x i8> @intrinsic_vleff_v_tu(<vscale x 1 x i8> %0, ptr %1, iXLen %2, iXLen* %3) nounwind {
55+
define <vscale x 1 x i8> @intrinsic_vleff_v_tu(<vscale x 1 x i8> %0, ptr %1, iXLen %2, ptr %3) nounwind {
5656
; RV32-LABEL: intrinsic_vleff_v_tu:
5757
; RV32: # %bb.0: # %entry
5858
; RV32-NEXT: vsetvli zero, a1, e8, mf8, tu, ma
@@ -75,7 +75,7 @@ entry:
7575
iXLen %2)
7676
%b = extractvalue { <vscale x 1 x i8>, iXLen } %a, 0
7777
%c = extractvalue { <vscale x 1 x i8>, iXLen } %a, 1
78-
store iXLen %c, iXLen* %3
78+
store iXLen %c, ptr %3
7979
ret <vscale x 1 x i8> %b
8080
}
8181

0 commit comments

Comments
 (0)