brintos

brintos / llvm-project-archived public Read only

0
0
Text · 679 B · 079f883 Raw
19 lines · plain
1; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s2 3define i64 @t(i64 %a, i64 %b) nounwind ssp {4entry:5; CHECK-LABEL: t:6	%asmtmp = tail call i64 asm "rorq $1,$0", "=r,J,0,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 1, i64 %a) nounwind		; <i64> [#uses=1]7; CHECK:      #APP8; CHECK-NEXT: rorq    %[[REG1:.*]]9; CHECK-NEXT: #NO_APP10	%asmtmp1 = tail call i64 asm "rorq $1,$0", "=r,J,0,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 1, i64 %b) nounwind		; <i64> [#uses=1]11; CHECK-NEXT: #APP12; CHECK-NEXT: rorq    %[[REG2:.*]]13; CHECK-NEXT: #NO_APP14	%0 = add i64 %asmtmp1, %asmtmp		; <i64> [#uses=1]15; CHECK-NEXT: leaq    (%[[REG2]],%[[REG1]]), %rax16	ret i64 %017; CHECK:      retq18}19