summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/fast-isel-crash.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-01-27 06:01:17 +0000
committerEric Christopher <echristo@apple.com>2011-01-27 06:01:17 +0000
commitebd8db7d0032f881cbdfdb4bbceead2052562141 (patch)
tree3722b6279e4eb7bc418a9d20287b3ba4fca0eeab /llvm/test/CodeGen/ARM/fast-isel-crash.ll
parent331cc5218d27a8a35d78ed7a2b36a47594ef8912 (diff)
downloadbcm5719-llvm-ebd8db7d0032f881cbdfdb4bbceead2052562141.tar.gz
bcm5719-llvm-ebd8db7d0032f881cbdfdb4bbceead2052562141.zip
Add a testcase for my last checkin.
llvm-svn: 124358
Diffstat (limited to 'llvm/test/CodeGen/ARM/fast-isel-crash.ll')
-rw-r--r--llvm/test/CodeGen/ARM/fast-isel-crash.ll21
1 files changed, 21 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/fast-isel-crash.ll b/llvm/test/CodeGen/ARM/fast-isel-crash.ll
new file mode 100644
index 00000000000..370c70f174f
--- /dev/null
+++ b/llvm/test/CodeGen/ARM/fast-isel-crash.ll
@@ -0,0 +1,21 @@
+; RUN: llc < %s -O0 -mtriple=thumbv7-apple-darwin
+
+%union.anon = type { <16 x i32> }
+
+@__md0 = external global [137 x i8]
+
+define internal void @stretch(<4 x i8> addrspace(1)* %src, <4 x i8> addrspace(1)* %dst, i32 %width, i32 %height, i32 %iLS, i32 %oLS, <2 x float> %c, <4 x float> %param) nounwind {
+entry:
+ ret void
+}
+
+define internal i32 @_Z13get_global_idj(i32 %dim) nounwind ssp {
+entry:
+ ret i32 undef
+}
+
+define void @wrap(i8 addrspace(1)* addrspace(1)* %arglist, i32 addrspace(1)* %gtid) nounwind ssp {
+entry:
+ call void @stretch(<4 x i8> addrspace(1)* undef, <4 x i8> addrspace(1)* undef, i32 undef, i32 undef, i32 undef, i32 undef, <2 x float> undef, <4 x float> undef)
+ ret void
+}
OpenPOWER on IntegriCloud