[test] Pin some tests to legacy PM
authorArthur Eubanks <aeubanks@google.com>
Sat, 26 Dec 2020 21:46:02 +0000 (13:46 -0800)
committerArthur Eubanks <aeubanks@google.com>
Sat, 26 Dec 2020 21:46:02 +0000 (13:46 -0800)
These all have NPM RUN lines.

llvm/test/Analysis/BranchProbabilityInfo/deopt-invoke.ll
llvm/test/Analysis/BranchProbabilityInfo/unreachable.ll
llvm/test/Transforms/Coroutines/coro-inline.ll

index bea32bbe5979ba6a29941b7c12e3b60ab9c00922..0a552c6dc4d799fbd24bcf323c8e873eb374b12a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze -branch-prob < %s | FileCheck %s
+; RUN: opt -analyze -branch-prob < %s -enable-new-pm=0 | FileCheck %s
 ; RUN: opt < %s -passes='print<branch-prob>' -disable-output 2>&1 | FileCheck %s
 
 declare i32* @"personality_function"() #1
index 7ebdba2168ec451893f166c2fb8c53fca8749e8e..e7c9e0b447bee0f59c069ac1d72b64f8eb176aaf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze -branch-prob < %s | FileCheck %s
+; RUN: opt -analyze -branch-prob < %s -enable-new-pm=0 | FileCheck %s
 ; RUN: opt < %s -passes='print<branch-prob>' -disable-output 2>&1 | FileCheck %s
 
 declare void @bar() cold
index 2cc679a0127d5778db99265505de0ba072a31c45..5142dd7e45cfa3c36f942e3e57f73531e3754312 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -always-inline -barrier -coro-split -S | FileCheck %s
+; RUN: opt < %s -always-inline -barrier -coro-split -S -enable-new-pm=0 | FileCheck %s
 ; RUN: opt < %s -passes='always-inline,cgscc(coro-split)' -S | FileCheck %s
 ; RUN: opt < %s -sample-profile-file=%S/Inputs/sample.text.prof -pgo-kind=pgo-sample-use-pipeline -sample-profile -coro-split -disable-inlining=true -S | FileCheck %s
 ; RUN: opt < %s -sample-profile-file=%S/Inputs/sample.text.prof -pgo-kind=pgo-sample-use-pipeline -passes='sample-profile,cgscc(coro-split)' -disable-inlining=true -S | FileCheck %s