blob: 6b213d564bd6d2a6e86ed9dd794bca5c0fc39f48 [file] [log] [blame]
Evan Cheng39dfb0f2011-07-07 03:55:05 +00001; RUN: llc < %s -mtriple=armv4t-unknown-eabi | FileCheck %s -check-prefix=THUMB
2; RUN: llc < %s -mtriple=armv4-unknown-eabi -mcpu=strongarm | FileCheck %s -check-prefix=ARM
3; RUN: llc < %s -mtriple=armv7-unknown-eabi -mcpu=cortex-a8 | FileCheck %s -check-prefix=THUMB
4; RUN: llc < %s -mtriple=armv6-unknown-eabi | FileCheck %s -check-prefix=THUMB
Anton Korobeynikovce7bf1c2010-03-06 19:39:36 +00005; RUN: llc < %s -mtriple=armv4-unknown-eabi | FileCheck %s -check-prefix=ARM
6; RUN: llc < %s -mtriple=armv4t-unknown-eabi | FileCheck %s -check-prefix=THUMB
7
Rafael Espindola2ebb4f82010-06-15 19:04:29 +00008define i32 @test(i32 %a) nounwind readnone {
Anton Korobeynikovce7bf1c2010-03-06 19:39:36 +00009entry:
10; ARM: mov pc
11; THUMB: bx
12 ret i32 %a
13}