reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
; 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};"