Dan Gohman | 0a06310 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86-64 | not grep movq |
Evan Cheng | 2682ea0 | 2009-03-23 08:01:15 +0000 | [diff] [blame] | 2 | |
| 3 | define i64 @t(i64 %a, i64 %b) nounwind ssp { |
| 4 | entry: |
| 5 | %asmtmp = tail call i64 asm "rorq $1,$0", "=r,J,0,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 1, i64 %a) nounwind ; <i64> [#uses=1] |
| 6 | %asmtmp1 = tail call i64 asm "rorq $1,$0", "=r,J,0,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 1, i64 %b) nounwind ; <i64> [#uses=1] |
| 7 | %0 = add i64 %asmtmp1, %asmtmp ; <i64> [#uses=1] |
| 8 | ret i64 %0 |
| 9 | } |