summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ/06-SimpleCall.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/SystemZ/06-SimpleCall.ll')
-rw-r--r--test/CodeGen/SystemZ/06-SimpleCall.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/06-SimpleCall.ll b/test/CodeGen/SystemZ/06-SimpleCall.ll
new file mode 100644
index 0000000..fd4b5029
--- /dev/null
+++ b/test/CodeGen/SystemZ/06-SimpleCall.ll
@@ -0,0 +1,12 @@
+; RUN: llc < %s
+
+target datalayout = "E-p:64:64:64-i1:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128"
+target triple = "s390x-unknown-linux-gnu"
+
+define void @foo() nounwind {
+entry:
+ tail call void @bar() nounwind
+ ret void
+}
+
+declare void @bar()
OpenPOWER on IntegriCloud