mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01: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
15 lines
332 B
LLVM
15 lines
332 B
LLVM
; RUN: opt < %s -inline -S | not grep callee
|
|
; RUN: opt < %s -inline -S | not grep div
|
|
|
|
|
|
define internal i32 @callee(i32 %A, i32 %B) {
|
|
%C = sdiv i32 %A, %B ; <i32> [#uses=1]
|
|
ret i32 %C
|
|
}
|
|
|
|
define i32 @test() {
|
|
%X = call i32 @callee( i32 10, i32 3 ) ; <i32> [#uses=1]
|
|
ret i32 %X
|
|
}
|
|
|