summaryrefslogtreecommitdiff
path: root/test/Bitcode/avr-calling-conventions.ll
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-07-23 20:41:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-07-23 20:41:05 +0000
commit01095a5d43bbfde13731688ddcf6048ebb8b7721 (patch)
tree4def12e759965de927d963ac65840d663ef9d1ea /test/Bitcode/avr-calling-conventions.ll
parentf0f4822ed4b66e3579e92a89f368f8fb860e218e (diff)
Diffstat (limited to 'test/Bitcode/avr-calling-conventions.ll')
-rw-r--r--test/Bitcode/avr-calling-conventions.ll16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/Bitcode/avr-calling-conventions.ll b/test/Bitcode/avr-calling-conventions.ll
new file mode 100644
index 0000000000000..ea1005d1477e8
--- /dev/null
+++ b/test/Bitcode/avr-calling-conventions.ll
@@ -0,0 +1,16 @@
+; RUN: llvm-dis < %s.bc | FileCheck %s
+
+; CHECK: define avr_intrcc void @foo(i8)
+define avr_intrcc void @foo(i8) {
+ ret void
+}
+
+; CHECK: define avr_signalcc void @bar(i8)
+define avr_signalcc void @bar(i8) {
+ ret void
+}
+
+; CHECK: define void @baz(i8)
+define void @baz(i8) {
+ ret void
+}