[llvm] a5141b8 - [LoopInfo][NewPM] Fix tests in Analysis/LoopInfo under NPM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 11:31:12 PDT 2020


Author: Arthur Eubanks
Date: 2020-09-22T11:31:00-07:00
New Revision: a5141b83f1f1b94886d17c9091f09d4c63568dd2

URL: https://github.com/llvm/llvm-project/commit/a5141b83f1f1b94886d17c9091f09d4c63568dd2
DIFF: https://github.com/llvm/llvm-project/commit/a5141b83f1f1b94886d17c9091f09d4c63568dd2.diff

LOG: [LoopInfo][NewPM] Fix tests in Analysis/LoopInfo under NPM

Added: 
    

Modified: 
    llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll
    llvm/test/Analysis/LoopInfo/annotated-parallel-complex.ll
    llvm/test/Analysis/LoopInfo/annotated-parallel-simple.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll b/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll
index 599b3e4b0311..98c573a60528 100644
--- a/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll
+++ b/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll
@@ -1,7 +1,7 @@
 ; This testcase was incorrectly computing that the loopentry.7 loop was
 ; not a child of the loopentry.6 loop.
 ;
-; RUN: opt < %s -analyze -loops | FileCheck %s
+; RUN: opt < %s -analyze -loops -enable-new-pm=0 | FileCheck %s
 ; RUN: opt < %s -passes='print<loops>' -disable-output 2>&1 | FileCheck %s
 
 ; CHECK: Loop at depth 4 containing: %loopentry.7<header><latch><exiting>

diff  --git a/llvm/test/Analysis/LoopInfo/annotated-parallel-complex.ll b/llvm/test/Analysis/LoopInfo/annotated-parallel-complex.ll
index 661e2660de53..f2ef3c32a160 100644
--- a/llvm/test/Analysis/LoopInfo/annotated-parallel-complex.ll
+++ b/llvm/test/Analysis/LoopInfo/annotated-parallel-complex.ll
@@ -1,4 +1,5 @@
-; RUN: opt -loops -analyze < %s | FileCheck %s
+; RUN: opt -loops -analyze -enable-new-pm=0 < %s | FileCheck %s
+; RUN: opt -passes='print<loops>' -disable-output %s 2>&1 | FileCheck %s
 ;
 ; void func(long n, double A[static const restrict 4*n], double B[static const restrict 4*n]) {
 ;   for (long i = 0; i < n; i += 1)

diff  --git a/llvm/test/Analysis/LoopInfo/annotated-parallel-simple.ll b/llvm/test/Analysis/LoopInfo/annotated-parallel-simple.ll
index 4e25af899799..e60ca9455dfb 100644
--- a/llvm/test/Analysis/LoopInfo/annotated-parallel-simple.ll
+++ b/llvm/test/Analysis/LoopInfo/annotated-parallel-simple.ll
@@ -1,4 +1,5 @@
-; RUN: opt -loops -analyze < %s | FileCheck %s
+; RUN: opt -loops -analyze -enable-new-pm=0 < %s | FileCheck %s
+; RUN: opt -passes='print<loops>' -disable-output %s 2>&1 | FileCheck %s
 ;
 ; void func(long n, double A[static const restrict n]) {
 ;   for (long i = 0; i < n; i += 1)


        


More information about the llvm-commits mailing list