aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/CellSPU/crash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CellSPU/crash.ll')
-rw-r--r--test/CodeGen/CellSPU/crash.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/CellSPU/crash.ll b/test/CodeGen/CellSPU/crash.ll
new file mode 100644
index 0000000000..cc2ab71db3
--- /dev/null
+++ b/test/CodeGen/CellSPU/crash.ll
@@ -0,0 +1,8 @@
+; RUN: llc %s -march=cellspu -o -
+declare i8 @return_i8()
+declare i16 @return_i16()
+define void @testfunc() {
+ %rv1 = call i8 @return_i8()
+ %rv2 = call i16 @return_i16()
+ ret void
+} \ No newline at end of file