Add in support for SPIR to LLVM core. This adds a new target and two new calling conventions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Micah Villmow
2012-10-01 17:01:31 +00:00
parent 3118937305
commit e53d6051b7
6 changed files with 37 additions and 2 deletions

View File

@ -525,6 +525,8 @@ lltok::Kind LLLexer::LexIdentifier() {
KEYWORD(msp430_intrcc);
KEYWORD(ptx_kernel);
KEYWORD(ptx_device);
KEYWORD(spir_kernel);
KEYWORD(spir_func);
KEYWORD(cc);
KEYWORD(c);