1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-01 00:33:09 +00:00
llvm-6502/test/CodeGen/ARM/inlineasm-global.ll

14 lines
395 B
LLVM
Raw Normal View History

; 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};"