forked from OSchip/llvm-project
[LoopInfo][NewPM] Fix tests in Analysis/LoopInfo under NPM
This commit is contained in:
parent
783dc7dc7e
commit
a5141b83f1
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue