summaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/LoopSimplify
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2020-10-21 21:52:27 -0700
committerArthur Eubanks <aeubanks@google.com>2020-10-21 21:54:30 -0700
commit55c4ff9860c495d71e83181aa5a2d5e085634b70 (patch)
treeba5739e955365184a19e9c3a6bd456b8d6d06e3c /llvm/test/Transforms/LoopSimplify
parent75d0e0cd5f4c584f235b98e13c01421683bf0b80 (diff)
[test] Fix tests using -analyze that fail under NPM
Many of these tests don't use the output of -analyze.
Diffstat (limited to 'llvm/test/Transforms/LoopSimplify')
-rw-r--r--llvm/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll2
-rw-r--r--llvm/test/Transforms/LoopSimplify/preserve-scev.ll3
2 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll b/llvm/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll
index f179da234cb1..4f215ab6d15a 100644
--- a/llvm/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll
+++ b/llvm/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -domfrontier -loop-simplify -domfrontier -verify-dom-info -analyze
+; RUN: opt < %s -domfrontier -loop-simplify -domfrontier -verify-dom-info
define void @a() nounwind {
diff --git a/llvm/test/Transforms/LoopSimplify/preserve-scev.ll b/llvm/test/Transforms/LoopSimplify/preserve-scev.ll
index 07486ef24686..275a54005a1f 100644
--- a/llvm/test/Transforms/LoopSimplify/preserve-scev.ll
+++ b/llvm/test/Transforms/LoopSimplify/preserve-scev.ll
@@ -1,4 +1,5 @@
-; RUN: opt -S < %s -analyze -scalar-evolution -loop-simplify -scalar-evolution | FileCheck %s
+; RUN: opt -S < %s -analyze -scalar-evolution -loop-simplify -scalar-evolution -enable-new-pm=0 | FileCheck %s
+; RUN: opt -S < %s -passes='print<scalar-evolution>,loop-simplify,print<scalar-evolution>' 2>&1 | FileCheck %s
; Provide legal integer types.
target datalayout = "n8:16:32:64"