summaryrefslogtreecommitdiff
path: root/test/Feature
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-12-01 21:04:44 +0000
committerReid Kleckner <reid@kleckner.net>2014-12-01 21:04:44 +0000
commit03c735b42cd4857213e4c1e2caeae9c460e8d0d4 (patch)
treebc8648493ba8579cd8ef90e5718da85d53a709a0 /test/Feature
parent14fe2e6948c394b0565787eddf59feec29a765da (diff)
Parse 'ghccc' in .ll files as the GHC convention (cc 10)
Previously we just used "cc 10" in the .ll files, but that isn't very human readable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/callingconventions.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Feature/callingconventions.ll b/test/Feature/callingconventions.ll
index 192f07a413b..8b339d43fcd 100644
--- a/test/Feature/callingconventions.ll
+++ b/test/Feature/callingconventions.ll
@@ -52,4 +52,11 @@ U:
resume { i8*, i32 } %exn
}
+declare ghccc void @ghc_callee()
+
+define void @ghc_caller() {
+ call ghccc void @ghc_callee()
+ ret void
+}
+
declare i32 @__gxx_personality_v0(...)