• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
2
3define double @f(double %x) {
4entry:
5  %0 = tail call double asm "mov     ${0:R}, #4\0A", "=&r"()
6  ret double %0
7; CHECK-LABEL: f:
8; CHECK:	mov     r1, #4
9}
10
11define double @g(double %x) {
12entry:
13  %0 = tail call double asm "mov     ${0:Q}, #4\0A", "=&r"()
14  ret double %0
15; CHECK-LABEL: g:
16; CHECK:	mov     r0, #4
17}
18