blob: 8b6aa3331a41d7e5fbe57ce1dd406f4e29b1e5e4 [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
2; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mr
Chris Lattner0ac67572006-11-02 01:45:28 +00003
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}