diff --git a/llvm/test/Transforms/PlaceSafepoints/basic.ll b/llvm/test/Transforms/PlaceSafepoints/basic.ll --- a/llvm/test/Transforms/PlaceSafepoints/basic.ll +++ b/llvm/test/Transforms/PlaceSafepoints/basic.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -S -place-safepoints | FileCheck %s +; RUN: opt < %s -S -place-safepoints -enable-new-pm=0 | FileCheck %s ; Do we insert a simple entry safepoint? diff --git a/llvm/test/Transforms/PlaceSafepoints/call-in-loop.ll b/llvm/test/Transforms/PlaceSafepoints/call-in-loop.ll --- a/llvm/test/Transforms/PlaceSafepoints/call-in-loop.ll +++ b/llvm/test/Transforms/PlaceSafepoints/call-in-loop.ll @@ -1,7 +1,7 @@ ; If there's a call in the loop which dominates the backedge, we ; don't need a safepoint poll (since the callee must contain a ; poll test). -;; RUN: opt < %s -place-safepoints -S | FileCheck %s +;; RUN: opt < %s -place-safepoints -S -enable-new-pm=0 | FileCheck %s declare void @foo() diff --git a/llvm/test/Transforms/PlaceSafepoints/finite-loops.ll b/llvm/test/Transforms/PlaceSafepoints/finite-loops.ll --- a/llvm/test/Transforms/PlaceSafepoints/finite-loops.ll +++ b/llvm/test/Transforms/PlaceSafepoints/finite-loops.ll @@ -1,7 +1,7 @@ ; Tests to ensure that we are not placing backedge safepoints in ; loops which are clearly finite. -;; RUN: opt < %s -place-safepoints -spp-counted-loop-trip-width=32 -S | FileCheck %s -;; RUN: opt < %s -place-safepoints -spp-counted-loop-trip-width=64 -S | FileCheck %s -check-prefix=COUNTED-64 +;; RUN: opt < %s -place-safepoints -spp-counted-loop-trip-width=32 -S -enable-new-pm=0 | FileCheck %s +;; RUN: opt < %s -place-safepoints -spp-counted-loop-trip-width=64 -S -enable-new-pm=0 | FileCheck %s -check-prefix=COUNTED-64 ; A simple counted loop with trivially known range @@ -140,4 +140,4 @@ entry: call void @do_safepoint() ret void -} \ No newline at end of file +} diff --git a/llvm/test/Transforms/PlaceSafepoints/libcall.ll b/llvm/test/Transforms/PlaceSafepoints/libcall.ll --- a/llvm/test/Transforms/PlaceSafepoints/libcall.ll +++ b/llvm/test/Transforms/PlaceSafepoints/libcall.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -place-safepoints < %s | FileCheck %s +; RUN: opt -S -place-safepoints < %s -enable-new-pm=0 | FileCheck %s ; Libcalls will not contain a safepoint poll, so check that we insert ; a safepoint in a loop containing a libcall. diff --git a/llvm/test/Transforms/PlaceSafepoints/memset.ll b/llvm/test/Transforms/PlaceSafepoints/memset.ll --- a/llvm/test/Transforms/PlaceSafepoints/memset.ll +++ b/llvm/test/Transforms/PlaceSafepoints/memset.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -S -place-safepoints | FileCheck %s +; RUN: opt < %s -S -place-safepoints -enable-new-pm=0 | FileCheck %s define void @test(i32, i8 addrspace(1)* %ptr) gc "statepoint-example" { ; CHECK-LABEL: @test diff --git a/llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll b/llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll --- a/llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll +++ b/llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -place-safepoints < %s | FileCheck %s +; RUN: opt -S -place-safepoints < %s -enable-new-pm=0 | FileCheck %s declare void @callee() diff --git a/llvm/test/Transforms/PlaceSafepoints/split-backedge.ll b/llvm/test/Transforms/PlaceSafepoints/split-backedge.ll --- a/llvm/test/Transforms/PlaceSafepoints/split-backedge.ll +++ b/llvm/test/Transforms/PlaceSafepoints/split-backedge.ll @@ -1,5 +1,5 @@ ;; A very basic test to make sure that splitting the backedge keeps working -;; RUN: opt < %s -place-safepoints -spp-split-backedge=1 -S | FileCheck %s +;; RUN: opt < %s -place-safepoints -spp-split-backedge=1 -S -enable-new-pm=0 | FileCheck %s define void @test(i32, i1 %cond) gc "statepoint-example" { ; CHECK-LABEL: @test @@ -43,4 +43,4 @@ entry: call void @do_safepoint() ret void -} \ No newline at end of file +} diff --git a/llvm/test/Transforms/PlaceSafepoints/statepoint-coreclr.ll b/llvm/test/Transforms/PlaceSafepoints/statepoint-coreclr.ll --- a/llvm/test/Transforms/PlaceSafepoints/statepoint-coreclr.ll +++ b/llvm/test/Transforms/PlaceSafepoints/statepoint-coreclr.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -S -place-safepoints | FileCheck %s +; RUN: opt < %s -S -place-safepoints -enable-new-pm=0 | FileCheck %s ; Basic test to make sure that safepoints are placed ; for CoreCLR GC diff --git a/llvm/test/Transforms/PlaceSafepoints/statepoint-frameescape.ll b/llvm/test/Transforms/PlaceSafepoints/statepoint-frameescape.ll --- a/llvm/test/Transforms/PlaceSafepoints/statepoint-frameescape.ll +++ b/llvm/test/Transforms/PlaceSafepoints/statepoint-frameescape.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -S -place-safepoints | FileCheck %s +; RUN: opt < %s -S -place-safepoints -enable-new-pm=0 | FileCheck %s declare void @llvm.localescape(...) @@ -26,4 +26,4 @@ entry: call void @do_safepoint() ret void -} \ No newline at end of file +}