[llvm] c4f6663 - Fix build break introduced by D115847

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 18 11:34:25 PST 2022


Author: Mircea Trofin
Date: 2022-01-18T11:34:18-08:00
New Revision: c4f66632da75ee826069f78d653041899150f5e2

URL: https://github.com/llvm/llvm-project/commit/c4f66632da75ee826069f78d653041899150f5e2
DIFF: https://github.com/llvm/llvm-project/commit/c4f66632da75ee826069f78d653041899150f5e2.diff

LOG: Fix build break introduced by D115847

Because CoroEarly is also run, the `coroutine.presplit` attr should be
0.

Added: 
    

Modified: 
    llvm/test/Transforms/Inline/ML/state-tracking-coro.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/Inline/ML/state-tracking-coro.ll b/llvm/test/Transforms/Inline/ML/state-tracking-coro.ll
index a5299346778bb..54c589374ac11 100644
--- a/llvm/test/Transforms/Inline/ML/state-tracking-coro.ll
+++ b/llvm/test/Transforms/Inline/ML/state-tracking-coro.ll
@@ -13,7 +13,7 @@
 declare i8* @malloc(i64)
 declare void @print(i32)
 
-define void @a() "coroutine.presplit"="1" {
+define void @a() "coroutine.presplit"="0" {
 entry:
   %ref.tmp7 = alloca %"struct.lean_future<int>::Awaiter", align 8
   %testval = alloca i32


        


More information about the llvm-commits mailing list