]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/CodeGen/ARM/inlineasm4.ll
Updates to sync with changes in upstream.
[opencl/llvm.git] / test / CodeGen / ARM / inlineasm4.ll
1 ; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
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 }
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 }