blob: 34594d2ff2329ff4f547c8aeb9a415b013c94248 [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mr
Chris Lattner0ac67572006-11-02 01:45:28 +00002
3int %test(int %Y, int %X) {
4entry:
5 %tmp = tail call int asm "foo $0", "=r"( ) ; <int> [#uses=1]
6 ret int %tmp
7}
8
9int %test2(int %Y, int %X) {
10entry:
11 %tmp1 = tail call int asm "foo $0, $1", "=r,r"( int %X ) ; <int> [#uses=1]
12 ret int %tmp1
13}