mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[LoopInfo][NewPM] Fix tests in Analysis/LoopInfo under NPM
This commit is contained in:
parent
d242891bee
commit
9c2efe1cd8
@ -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…
x
Reference in New Issue
Block a user