mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
205b641954
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
13 lines
372 B
LLVM
13 lines
372 B
LLVM
; RUN: opt < %s -analyze -scalar-evolution -disable-output | grep smax | count 2
|
|
; RUN: opt < %s -analyze -scalar-evolution -disable-output | grep \
|
|
; RUN: {%. smax %. smax %.}
|
|
; PR1614
|
|
|
|
define i32 @x(i32 %a, i32 %b, i32 %c) {
|
|
%A = icmp sgt i32 %a, %b
|
|
%B = select i1 %A, i32 %a, i32 %b
|
|
%C = icmp sle i32 %c, %B
|
|
%D = select i1 %C, i32 %B, i32 %c
|
|
ret i32 %D
|
|
}
|