aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/MIR/MachineMetadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/MIR/MachineMetadata.cpp')
-rw-r--r--llvm/unittests/MIR/MachineMetadata.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/unittests/MIR/MachineMetadata.cpp b/llvm/unittests/MIR/MachineMetadata.cpp
index 5875512..8c36377 100644
--- a/llvm/unittests/MIR/MachineMetadata.cpp
+++ b/llvm/unittests/MIR/MachineMetadata.cpp
@@ -205,8 +205,8 @@ TEST_F(MachineMetadataTest, MMSlotTrackerAArch64) {
StringRef MIRString = R"MIR(
--- |
- define i32 @test0(i32* %p) {
- %r = load i32, i32* %p, align 4
+ define i32 @test0(ptr %p) {
+ %r = load i32, ptr %p, align 4
ret i32 %r
}
...
@@ -354,8 +354,8 @@ TEST_F(MachineMetadataTest, MMSlotTrackerX64) {
StringRef MIRString = R"MIR(
--- |
- define i32 @test0(i32* %p) {
- %r = load i32, i32* %p, align 4
+ define i32 @test0(ptr %p) {
+ %r = load i32, ptr %p, align 4
ret i32 %r
}
...
@@ -446,8 +446,8 @@ TEST_F(MachineMetadataTest, MMSlotTrackerAMDGPU) {
StringRef MIRString = R"MIR(
--- |
- define i32 @test0(i32* %p) {
- %r = load i32, i32* %p, align 4
+ define i32 @test0(ptr %p) {
+ %r = load i32, ptr %p, align 4
ret i32 %r
}
...