1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[test][NewPM] Clean up ScalarEvolution tests to work under NPM

This commit is contained in:
Arthur Eubanks 2020-09-22 19:30:03 -07:00
parent 9b182096ba
commit a184708a16
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
; RUN: opt -analyze -scalar-evolution %s | FileCheck %s
; RUN: opt -analyze -scalar-evolution %s -enable-new-pm=0 | FileCheck %s
; RUN: opt -passes='print<scalar-evolution>' -disable-output %s 2>&1 | FileCheck %s
; Test case for PR40961. The loop guard limit the max backedge-taken count.

View File

@ -1,4 +1,5 @@
; RUN: opt < %s -analyze -scalar-evolution | FileCheck %s
; RUN: opt -analyze -scalar-evolution %s -enable-new-pm=0 | FileCheck %s
; RUN: opt -passes='print<scalar-evolution>' -disable-output %s 2>&1 | FileCheck %s
; CHECK-LABEL @test1
; CHECK %add.lcssa.wide = phi i64 [ %indvars.iv.next, %do.body ]