diff options
author | Koakuma <koachan@protonmail.com> | 2024-01-14 15:43:45 +0700 |
---|---|---|
committer | Koakuma <koachan@protonmail.com> | 2024-01-14 15:43:45 +0700 |
commit | 811e1de1b5eb9013434690fb8281473538ddef0f (patch) | |
tree | ddb7d53229c8c157070315db9882dd746128aefe | |
parent | f4830825ebea96f71fb1b9d1f1192114291b093c (diff) |
Fixup load pointer type in testcaseupstream/users/koachan/sparc-prefer-rdpc-over-call-to-implement-getpcx-for-64-bit-target
Created using spr 1.3.4
-rw-r--r-- | llvm/test/CodeGen/SPARC/getpcx-call.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/SPARC/getpcx-rdpc.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SPARC/getpcx-call.ll b/llvm/test/CodeGen/SPARC/getpcx-call.ll index 0f162f1cd0bb..72d7b5a0bc2f 100644 --- a/llvm/test/CodeGen/SPARC/getpcx-call.ll +++ b/llvm/test/CodeGen/SPARC/getpcx-call.ll @@ -44,7 +44,7 @@ define i32 @testCall() nounwind #0 { ; SPARC64-NEXT: ld [%i0], %i0 ; SPARC64-NEXT: ret ; SPARC64-NEXT: restore - %1 = load i32, i32* @value + %1 = load i32, ptr @value ret i32 %1 } diff --git a/llvm/test/CodeGen/SPARC/getpcx-rdpc.ll b/llvm/test/CodeGen/SPARC/getpcx-rdpc.ll index cb51502f7b06..286750a014e8 100644 --- a/llvm/test/CodeGen/SPARC/getpcx-rdpc.ll +++ b/llvm/test/CodeGen/SPARC/getpcx-rdpc.ll @@ -44,7 +44,7 @@ define i32 @testRdpc() nounwind #0 { ; SPARC64-NEXT: ld [%i0], %i0 ; SPARC64-NEXT: ret ; SPARC64-NEXT: restore - %1 = load i32, i32* @value + %1 = load i32, ptr @value ret i32 %1 } |