[PATCH] D99856: [Coroutines, test] Fix use of var defined in CHECK-NOT

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 7 01:43:06 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGb62c62c51973: [Coroutines, test] Fix use of var defined in CHECK-NOT (authored by thopre).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99856/new/

https://reviews.llvm.org/D99856

Files:
  llvm/test/Transforms/Coroutines/coro-split-sink-lifetime-02.ll


Index: llvm/test/Transforms/Coroutines/coro-split-sink-lifetime-02.ll
===================================================================
--- llvm/test/Transforms/Coroutines/coro-split-sink-lifetime-02.ll
+++ llvm/test/Transforms/Coroutines/coro-split-sink-lifetime-02.ll
@@ -57,9 +57,7 @@
 
 ; CHECK-LABEL: @a.resume(
 ; CHECK:    %[[VAL:testval.+]] = getelementptr inbounds %a.Frame
-; CHECK-NOT:     %testval = alloca i32, align 4
-; CHECK-NOT:     %[[CAST:.+]] = bitcast i32* %testval to i8*
-; CHECK-NOT:     call void @llvm.lifetime.start.p0i8(i64 4, i8* %[[CAST]])
+; CHECK-NOT:     call void @llvm.lifetime.start.p0i8(i64 4, i8* %{{.*}})
 ; CHECK:         %test = load i32, i32* %[[VAL]]
 ; CHECK-NOT:     %test = load i32, i32* %testval
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99856.335752.patch
Type: text/x-patch
Size: 748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210407/6b0c2982/attachment.bin>


More information about the llvm-commits mailing list