view test/CodeGen/ARM/inlineasm-global.ll @ 100:7d135dc70f03

LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 22:53:40 +0900
parents 54457678186b
children
line wrap: on
line source

; RUN: llc -mtriple=thumb-unknown-unknown -no-integrated-as < %s | FileCheck %s --check-prefix=THUMB
; RUN: llc -mtriple=arm-unknown-unknown -no-integrated-as < %s | FileCheck %s --check-prefix=ARM

; In thumb mode, emit ".code 16" before global inline-asm instructions.

; THUMB: .code 16
; THUMB: stmib
; THUMB: .code 16

; ARM-NOT: .code 16
; ARM:     stmib

module asm "stmib sp, {r0-r14};"