diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-12-01 21:04:44 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-12-01 21:04:44 +0000 |
commit | 03c735b42cd4857213e4c1e2caeae9c460e8d0d4 (patch) | |
tree | bc8648493ba8579cd8ef90e5718da85d53a709a0 /test/Feature | |
parent | 14fe2e6948c394b0565787eddf59feec29a765da (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.ll | 7 |
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(...) |