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