repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
ARM
/
inlineasm4.ll
blob
a117cd2618f914743fb292664ba68375e3795b30
1
; RUN: llc -mtriple=arm-eabi %s -o - | 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
}