OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4a1bccaf61c5f4c4ec21fa06da7f5f7b16ab42e0
[android-x86/external-llvm.git]
/
test
/
CodeGen
/
ARM
/
inlineasm4.ll
1
; RUN: llc < %s -march=arm | FileCheck %s
2
3
define double @f(double %x) {
4
entry:
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
11
define double @g(double %x) {
12
entry:
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
}