[llvm] b113fa4 - [test][Coro][NewPM] Fix coro-elide.ll under NPM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 15:41:20 PDT 2020


Author: Arthur Eubanks
Date: 2020-10-02T15:39:42-07:00
New Revision: b113fa451061244e68af13328df9df46619bd0c3

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

LOG: [test][Coro][NewPM] Fix coro-elide.ll under NPM

Added: 
    

Modified: 
    llvm/test/Transforms/Coroutines/coro-elide.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/Coroutines/coro-elide.ll b/llvm/test/Transforms/Coroutines/coro-elide.ll
index ae0e30ab50ef..7863c9daf222 100644
--- a/llvm/test/Transforms/Coroutines/coro-elide.ll
+++ b/llvm/test/Transforms/Coroutines/coro-elide.ll
@@ -1,6 +1,6 @@
 ; Tests that the coro.destroy and coro.resume are devirtualized where possible,
 ; SCC pipeline restarts and inlines the direct calls.
-; RUN: opt < %s -S -inline -coro-elide -dce | FileCheck %s
+; RUN: opt < %s -S -inline -coro-elide -dce -enable-new-pm=0 | FileCheck %s
 ; RUN: opt < %s -S \
 ; RUN:   -passes='cgscc(repeat<2>(inline,function(coro-elide,dce)))' \
 ; RUN:   | FileCheck %s


        


More information about the llvm-commits mailing list