Skip to content

Commit 0812e9d

Browse files
committed
use opaque pointers
1 parent 20e43ca commit 0812e9d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_asm_mir_mixed.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
define i64 @test1(i64 %i) nounwind readnone {
55
%loc = alloca i64
6-
%j = load i64, i64 * %loc
6+
%j = load i64, ptr %loc
77
%r = add i64 %i, %j
88
ret i64 %r
99
}
1010

1111
define i64 @test2(i32 %i) nounwind readnone {
1212
%loc = alloca i32
13-
%j = load i32, i32 * %loc
13+
%j = load i32, ptr %loc
1414
%r = add i32 %i, %j
1515
%ext = zext i32 %r to i64
1616
ret i64 %ext

llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_asm_mir_mixed.ll.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ define i64 @test1(i64 %i) nounwind readnone {
1717
; MIR-NEXT: $rax = COPY [[ADD64rm]]
1818
; MIR-NEXT: RET 0, $rax
1919
%loc = alloca i64
20-
%j = load i64, i64 * %loc
20+
%j = load i64, ptr %loc
2121
%r = add i64 %i, %j
2222
ret i64 %r
2323
}
@@ -38,7 +38,7 @@ define i64 @test2(i32 %i) nounwind readnone {
3838
; MIR-NEXT: $rax = COPY [[SUBREG_TO_REG]]
3939
; MIR-NEXT: RET 0, $rax
4040
%loc = alloca i32
41-
%j = load i32, i32 * %loc
41+
%j = load i32, ptr %loc
4242
%r = add i32 %i, %j
4343
%ext = zext i32 %r to i64
4444
ret i64 %ext

0 commit comments

Comments
 (0)