blob: a5736bea52f57f35ef0157f4470f74930e6036dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | grep -v 'ret int 17' | grep -v 'ret int undef' | not grep ret
implementation
internal int %bar(int %A) {
%X = add int 1, 2
ret int %A
}
int %foo() {
%X = call int %bar(int 17)
ret int %X
}
|