2009-09-09 07:54:48 +08:00
|
|
|
; RUN: llc < %s -march=x86-64 | not grep movq
|
2009-03-23 16:01:15 +08:00
|
|
|
|
|
|
|
define i64 @t(i64 %a, i64 %b) nounwind ssp {
|
|
|
|
entry:
|
|
|
|
%asmtmp = tail call i64 asm "rorq $1,$0", "=r,J,0,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 1, i64 %a) nounwind ; <i64> [#uses=1]
|
|
|
|
%asmtmp1 = tail call i64 asm "rorq $1,$0", "=r,J,0,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 1, i64 %b) nounwind ; <i64> [#uses=1]
|
|
|
|
%0 = add i64 %asmtmp1, %asmtmp ; <i64> [#uses=1]
|
|
|
|
ret i64 %0
|
|
|
|
}
|