From b113fa451061244e68af13328df9df46619bd0c3 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Fri, 2 Oct 2020 15:39:15 -0700 Subject: [PATCH] [test][Coro][NewPM] Fix coro-elide.ll under NPM --- llvm/test/Transforms/Coroutines/coro-elide.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/Transforms/Coroutines/coro-elide.ll b/llvm/test/Transforms/Coroutines/coro-elide.ll index ae0e30a..7863c9d 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 -- 2.7.4