diff options
Diffstat (limited to 'test/Transforms/RewriteStatepointsForGC/basics.ll')
-rw-r--r-- | test/Transforms/RewriteStatepointsForGC/basics.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Transforms/RewriteStatepointsForGC/basics.ll b/test/Transforms/RewriteStatepointsForGC/basics.ll index ec522ab..c1a1e4e 100644 --- a/test/Transforms/RewriteStatepointsForGC/basics.ll +++ b/test/Transforms/RewriteStatepointsForGC/basics.ll @@ -35,14 +35,14 @@ define i8 @test3(i8 addrspace(1)* %obj) gc "statepoint-example" { ; CHECK-NEXT: gc.statepoint ; CHECK-NEXT: %derived.relocated = call coldcc i8 addrspace(1)* ; CHECK-NEXT: %obj.relocated = call coldcc i8 addrspace(1)* -; CHECK-NEXT: load i8 addrspace(1)* %derived.relocated -; CHECK-NEXT: load i8 addrspace(1)* %obj.relocated +; CHECK-NEXT: load i8, i8 addrspace(1)* %derived.relocated +; CHECK-NEXT: load i8, i8 addrspace(1)* %obj.relocated entry: - %derived = getelementptr i8 addrspace(1)* %obj, i64 10 + %derived = getelementptr i8, i8 addrspace(1)* %obj, i64 10 call i32 (void ()*, i32, i32, ...)* @llvm.experimental.gc.statepoint.p0f_isVoidf(void ()* @foo, i32 0, i32 0, i32 5, i32 0, i32 -1, i32 0, i32 0, i32 0) - %a = load i8 addrspace(1)* %derived - %b = load i8 addrspace(1)* %obj + %a = load i8, i8 addrspace(1)* %derived + %b = load i8, i8 addrspace(1)* %obj %c = sub i8 %a, %b ret i8 %c } |