summaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis5x@gmail.com>2013-07-12 06:02:35 +0000
committerCharles Davis <cdavis5x@gmail.com>2013-07-12 06:02:35 +0000
commitac226bbf457f6b5e5210a4a82b1ce678298b2d89 (patch)
tree24763c608ad27b81e92597e5ef8c01ac8410d82b /lib/AsmParser/LLLexer.cpp
parent6ebd77a6c3aa6c4db1b911bdd83d9f309a9aedf4 (diff)
downloadllvm-ac226bbf457f6b5e5210a4a82b1ce678298b2d89.tar.gz
llvm-ac226bbf457f6b5e5210a4a82b1ce678298b2d89.tar.bz2
llvm-ac226bbf457f6b5e5210a4a82b1ce678298b2d89.tar.xz
Target/X86: Add explicit Win64 and System V/x86-64 calling conventions.
Summary: This patch adds explicit calling convention types for the Win64 and System V/x86-64 ABIs. This allows code to override the default, and use the Win64 convention on a target that wants to use SysV (and vice-versa). This is needed to implement the `ms_abi` and `sysv_abi` GNU attributes. Reviewers: CC: git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLLexer.cpp')
-rw-r--r--lib/AsmParser/LLLexer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp
index 1b5422e3b4..48675aced1 100644
--- a/lib/AsmParser/LLLexer.cpp
+++ b/lib/AsmParser/LLLexer.cpp
@@ -556,6 +556,8 @@ lltok::Kind LLLexer::LexIdentifier() {
KEYWORD(spir_kernel);
KEYWORD(spir_func);
KEYWORD(intel_ocl_bicc);
+ KEYWORD(x86_64_sysvcc);
+ KEYWORD(x86_64_win64cc);
KEYWORD(cc);
KEYWORD(c);