blob: af7cf71adec39b68db5c5fae0b3abfa6d6eb58a0 [file] [log] [blame]
Jim Grosbach0f448b52010-10-08 00:47:59 +00001;RUN: llc -mtriple=armv7-apple-darwin -show-mc-encoding < %s | FileCheck %s
2
3
4;FIXME: Once the ARM integrated assembler is up and going, these sorts of tests
5; should run on .s source files rather than using llc to generate the
6; assembly.
7
8define i32 @foo(i32 %a, i32 %b) nounwind ssp {
9entry:
10; CHECK: foo
11; CHECK: 0xf0,0x00,0xf0,0x07
12; CHECK: 0x1e,0xff,0x2f,0x01
13
14 tail call void @llvm.trap()
15 ret i32 undef
16}
17
18declare void @llvm.trap() nounwind