Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc < %s -march=ppc32 | not grep mr
      2 
      3 define i32 @test(i32 %Y, i32 %X) {
      4 entry:
      5         %tmp = tail call i32 asm "foo $0", "=r"( )              ; <i32> [#uses=1]
      6         ret i32 %tmp
      7 }
      8 
      9 define i32 @test2(i32 %Y, i32 %X) {
     10 entry:
     11         %tmp1 = tail call i32 asm "foo $0, $1", "=r,r"( i32 %X )                ; <i32> [#uses=1]
     12         ret i32 %tmp1
     13 }
     14 
     15