source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/inlineasm-global.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 395 bytes
Line 
1; RUN: llc -mtriple=thumb-unknown-unknown -no-integrated-as < %s | FileCheck %s --check-prefix=THUMB
2; RUN: llc -mtriple=arm-unknown-unknown -no-integrated-as < %s | FileCheck %s --check-prefix=ARM
3
4; In thumb mode, emit ".code 16" before global inline-asm instructions.
5
6; THUMB: .code 16
7; THUMB: stmib
8; THUMB: .code 16
9
10; ARM-NOT: .code 16
11; ARM:     stmib
12
13module asm "stmib sp, {r0-r14};"
Note: See TracBrowser for help on using the repository browser.