mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[test][NewPM] Clean up ScalarEvolution tests to work under NPM
This commit is contained in:
parent
9b182096ba
commit
a184708a16
@ -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.
|
||||
|
||||
|
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user