diff options
author | Charles Davis <cdavis5x@gmail.com> | 2013-07-12 06:02:35 +0000 |
---|---|---|
committer | Charles Davis <cdavis5x@gmail.com> | 2013-07-12 06:02:35 +0000 |
commit | e8f297ca9494b5cc99628b779b7959b2b84def1d (patch) | |
tree | 4d59098084ac18e62462041cf37f6935dd755269 /llvm/lib/AsmParser/LLLexer.cpp | |
parent | aaaec3db98f4a7b96c20d1b8ffeb80a5cb924127 (diff) | |
download | bcm5719-llvm-e8f297ca9494b5cc99628b779b7959b2b84def1d.tar.gz bcm5719-llvm-e8f297ca9494b5cc99628b779b7959b2b84def1d.zip |
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:
llvm-svn: 186144
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r-- | llvm/lib/AsmParser/LLLexer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp index 1b5422e3b4e..48675aced18 100644 --- a/llvm/lib/AsmParser/LLLexer.cpp +++ b/llvm/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); |