1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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

This commit is contained in:
Arthur Eubanks 2020-09-22 11:30:05 -07:00
parent d242891bee
commit 9c2efe1cd8
3 changed files with 5 additions and 3 deletions

View File

@ -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>

View File

@ -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)

View File

@ -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)