mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 07:59:50 +00:00
c819279437
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213933 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
395 B
LLVM
14 lines
395 B
LLVM
; 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};"
|