Chris Lattner | 0ac6757 | 2006-11-02 01:45:28 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=ppc32 && |
2 | ; RUN: llvm-as < %s | llc -march=ppc32 | not grep mr | ||||
3 | |||||
4 | int %test(int %Y, int %X) { | ||||
5 | entry: | ||||
6 | %tmp = tail call int asm "foo $0", "=r"( ) ; <int> [#uses=1] | ||||
7 | ret int %tmp | ||||
8 | } | ||||
9 | |||||
10 | int %test2(int %Y, int %X) { | ||||
11 | entry: | ||||
12 | %tmp1 = tail call int asm "foo $0, $1", "=r,r"( int %X ) ; <int> [#uses=1] | ||||
13 | ret int %tmp1 | ||||
14 | } |