Fix a latent bug exposed by my truncstore patch. We compiled stfiwx-2.ll to:
[oota-llvm.git] / test / CodeGen / PowerPC / inlineasm-copy.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mr
2
3 int %test(int %Y, int %X) {
4 entry:
5         %tmp = tail call int asm "foo $0", "=r"( )              ; <int> [#uses=1]
6         ret int %tmp
7 }
8
9 int %test2(int %Y, int %X) {
10 entry:
11         %tmp1 = tail call int asm "foo $0, $1", "=r,r"( int %X )                ; <int> [#uses=1]
12         ret int %tmp1
13 }