summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AsmWriter.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2016-04-05 22:41:47 +0000
committerManman Ren <manman.ren@gmail.com>2016-04-05 22:41:47 +0000
commitf8bdd88cd95e5387ad853874fe2db38edfe76c41 (patch)
tree7f88b60ee4a22d582863e8f217011605bfc8834a /llvm/lib/IR/AsmWriter.cpp
parent64bba01a6346c726b7ca0acf11d694308d25f2a0 (diff)
downloadbcm5719-llvm-f8bdd88cd95e5387ad853874fe2db38edfe76c41.tar.gz
bcm5719-llvm-f8bdd88cd95e5387ad853874fe2db38edfe76c41.zip
Swift Calling Convention: add swiftcc.
Differential Revision: http://reviews.llvm.org/D17863 llvm-svn: 265480
Diffstat (limited to 'llvm/lib/IR/AsmWriter.cpp')
-rw-r--r--llvm/lib/IR/AsmWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp
index da92ec2f120..a6d0018393f 100644
--- a/llvm/lib/IR/AsmWriter.cpp
+++ b/llvm/lib/IR/AsmWriter.cpp
@@ -315,6 +315,7 @@ static void PrintCallingConv(unsigned cc, raw_ostream &Out) {
case CallingConv::X86_64_Win64: Out << "x86_64_win64cc"; break;
case CallingConv::SPIR_FUNC: Out << "spir_func"; break;
case CallingConv::SPIR_KERNEL: Out << "spir_kernel"; break;
+ case CallingConv::Swift: Out << "swiftcc"; break;
case CallingConv::X86_INTR: Out << "x86_intrcc"; break;
case CallingConv::HHVM: Out << "hhvmcc"; break;
case CallingConv::HHVM_C: Out << "hhvm_ccc"; break;
OpenPOWER on IntegriCloud