[test][Coro][NewPM] Fix coro-elide.ll under NPM
authorArthur Eubanks <aeubanks@google.com>
Fri, 2 Oct 2020 22:39:15 +0000 (15:39 -0700)
committerArthur Eubanks <aeubanks@google.com>
Fri, 2 Oct 2020 22:39:42 +0000 (15:39 -0700)
llvm/test/Transforms/Coroutines/coro-elide.ll

index ae0e30a..7863c9d 100644 (file)
@@ -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