[llvm] d85ac6d - [DSE] Adjust coroutines test after e082dee2b588.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 12 11:23:39 PDT 2020
Author: Florian Hahn
Date: 2020-09-12T19:23:13+01:00
New Revision: d85ac6d577ac5d4a7812e6cd3b0171f5e356c805
URL: https://github.com/llvm/llvm-project/commit/d85ac6d577ac5d4a7812e6cd3b0171f5e356c805
DIFF: https://github.com/llvm/llvm-project/commit/d85ac6d577ac5d4a7812e6cd3b0171f5e356c805.diff
LOG: [DSE] Adjust coroutines test after e082dee2b588.
Added:
Modified:
llvm/test/Transforms/Coroutines/ArgAddr.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/Coroutines/ArgAddr.ll b/llvm/test/Transforms/Coroutines/ArgAddr.ll
index b711f1f12c9f..99e418599c67 100644
--- a/llvm/test/Transforms/Coroutines/ArgAddr.ll
+++ b/llvm/test/Transforms/Coroutines/ArgAddr.ll
@@ -46,18 +46,19 @@ entry:
call void @llvm.coro.destroy(i8* %hdl)
ret i32 0
; CHECK: call void @ctor
-; CHECK-NEXT: %dec1.spill.addr.i = getelementptr inbounds i8, i8* %call.i, i64 16
+; CHECK-NEXT: %dec1.spill.addr.i = getelementptr inbounds i8, i8* %call.i, i64 20
; CHECK-NEXT: bitcast i8* %dec1.spill.addr.i to i32*
; CHECK-NEXT: store i32 4
; CHECK-NEXT: call void @print(i32 4)
-; CHECK-NEXT: %index.addr5.i = getelementptr inbounds i8, i8* %call.i, i64 20
-; CHECK-NEXT: bitcast i8* %index.addr5.i to i1*
+; CHECK-NEXT: %index.addr13.i = getelementptr inbounds i8, i8* %call.i, i64 24
+; CHECK-NEXT: bitcast i8* %index.addr13.i to i1*
; CHECK-NEXT: store i1 false
-; CHECK-NEXT: call void @llvm.lifetime.end.p0i8(
+; CHECK-NEXT: store i32 3
; CHECK-NEXT: store i32 3
; CHECK-NEXT: call void @print(i32 3)
; CHECK-NEXT: store i1 false
; CHECK-NEXT: store i32 2
+; CHECK-NEXT: store i32 2
; CHECK-NEXT: call void @print(i32 2)
; CHECK: ret i32 0
}
More information about the llvm-commits
mailing list