mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 12:33:33 +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
10 lines
215 B
LLVM
10 lines
215 B
LLVM
; RUN: opt < %s -instcombine -S | grep {add i32}
|
|
|
|
define double @x(i32 %a, i32 %b) nounwind {
|
|
%m = lshr i32 %a, 24
|
|
%n = and i32 %m, %b
|
|
%o = sitofp i32 %n to double
|
|
%p = fadd double %o, 1.0
|
|
ret double %p
|
|
}
|