[llvm] d896f22 - [test] Cleanup legacy PM tests in llvm/test/Analyis/ScalarEvolution
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 4 15:58:12 PDT 2021
Author: Arthur Eubanks
Date: 2021-09-04T15:57:30-07:00
New Revision: d896f22fdaadb9abb6654a52a79e7e45c8af66ec
URL: https://github.com/llvm/llvm-project/commit/d896f22fdaadb9abb6654a52a79e7e45c8af66ec
DIFF: https://github.com/llvm/llvm-project/commit/d896f22fdaadb9abb6654a52a79e7e45c8af66ec.diff
LOG: [test] Cleanup legacy PM tests in llvm/test/Analyis/ScalarEvolution
Added:
Modified:
llvm/test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll
llvm/test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll
llvm/test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll
llvm/test/Analysis/ScalarEvolution/avoid-assume-hang.ll
llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll
llvm/test/Analysis/ScalarEvolution/lt-overflow.ll
llvm/test/Analysis/ScalarEvolution/ne-overflow.ll
llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll
Removed:
################################################################################
diff --git a/llvm/test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll b/llvm/test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll
index 0f6eeb6c3ff60..9f3d2c0e98764 100644
--- a/llvm/test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll
+++ b/llvm/test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll
@@ -1,5 +1,4 @@
-; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt < %s -disable-output -scalar-evolution
+; RUN: opt < %s -passes='print<scalar-evolution>'
; PR1827
declare void @use(i32)
diff --git a/llvm/test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll b/llvm/test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll
index bcb6559d77a9c..48ef3d1bc0622 100644
--- a/llvm/test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll
+++ b/llvm/test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll
@@ -1,5 +1,4 @@
-; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt < %s -disable-output -scalar-evolution
+; RUN: opt < %s -passes='print<scalar-evolution>'
; PR2602
define i32 @a() nounwind {
diff --git a/llvm/test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll b/llvm/test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll
index 6797d15dcb5af..42d8eac0233be 100644
--- a/llvm/test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll
+++ b/llvm/test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll
@@ -1,5 +1,4 @@
-; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt < %s -disable-output -scalar-evolution
+; RUN: opt < %s -passes='print<scalar-evolution>'
; PR4501
define void @test() {
diff --git a/llvm/test/Analysis/ScalarEvolution/avoid-assume-hang.ll b/llvm/test/Analysis/ScalarEvolution/avoid-assume-hang.ll
index 3a5abc46dbe6a..4a855bc23e70e 100644
--- a/llvm/test/Analysis/ScalarEvolution/avoid-assume-hang.ll
+++ b/llvm/test/Analysis/ScalarEvolution/avoid-assume-hang.ll
@@ -1,5 +1,4 @@
-; RUN: opt %s -always-inline | opt -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt %s -always-inline 2>&1 | opt -disable-output -scalar-evolution
+; RUN: opt %s -always-inline | opt -passes='print<scalar-evolution>'
; There was optimization bug in ScalarEvolution, that causes too long
; compute time and stack overflow crash.
diff --git a/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll b/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll
index 20a42320883d5..3c8d17edc647a 100644
--- a/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll
+++ b/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll
@@ -1,5 +1,4 @@
-; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt < %s -disable-output -scalar-evolution
+; RUN: opt < %s -passes='print<scalar-evolution>'
; PR4537
; ModuleID = 'b.bc'
diff --git a/llvm/test/Analysis/ScalarEvolution/lt-overflow.ll b/llvm/test/Analysis/ScalarEvolution/lt-overflow.ll
index 99eed7d0b264e..58c2cc3e1da21 100644
--- a/llvm/test/Analysis/ScalarEvolution/lt-overflow.ll
+++ b/llvm/test/Analysis/ScalarEvolution/lt-overflow.ll
@@ -1,5 +1,4 @@
-
-; RUN: opt %s -analyze -scalar-evolution -enable-new-pm=0 -scalar-evolution-classify-expressions=0 2>&1 | FileCheck %s
+; RUN: opt %s -passes='print<scalar-evolution>' -scalar-evolution-classify-expressions=0 2>&1 | FileCheck %s
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
diff --git a/llvm/test/Analysis/ScalarEvolution/ne-overflow.ll b/llvm/test/Analysis/ScalarEvolution/ne-overflow.ll
index f27518de4f591..02a8485e76b35 100644
--- a/llvm/test/Analysis/ScalarEvolution/ne-overflow.ll
+++ b/llvm/test/Analysis/ScalarEvolution/ne-overflow.ll
@@ -1,5 +1,5 @@
-; RUN: opt %s -analyze -scalar-evolution -enable-new-pm=0 -scalar-evolution-classify-expressions=0 2>&1 | FileCheck %s
+; RUN: opt %s -passes='print<scalar-evolution>' -scalar-evolution-classify-expressions=0 2>&1 | FileCheck %s
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
diff --git a/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll b/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll
index ed6b478962877..aaf96b8311baa 100644
--- a/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll
+++ b/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll
@@ -1,5 +1,4 @@
-; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt < %s -disable-output -scalar-evolution
+; RUN: opt < %s -passes='print<scalar-evolution>'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
%JavaObject = type { [0 x i32 (...)*]*, i8* }
More information about the llvm-commits
mailing list