view test/CodeGen/Thumb/inlineasm-thumb.ll @ 77:54457678186b LLVM3.6

LLVM 3.6
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 08 Sep 2014 22:06:00 +0900
parents 95c75e76d11b
children 60c9769439b8
line wrap: on
line source

; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s

define i32 @t1(i32 %x, i32 %y) nounwind {
entry:
  ; CHECK: mov r0, r12
  %0 = tail call i32 asm "mov $0, $1", "=l,h"(i32 %y) nounwind
  ret i32 %0
}