diff options
author | Dan Gohman <gohman@apple.com> | 2008-05-23 01:55:30 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-05-23 01:55:30 +0000 |
commit | e4977cf750eaff28275429191821420c20b0c64f (patch) | |
tree | f1adda18e6df59cfb561a32a7d2034a053e06826 /lib/AsmParser/LLLexer.cpp | |
parent | 8f8e2692705f37d61e1840e799288f2ade1e410f (diff) |
Make structs and arrays first-class types, and add assembly
and bitcode support for the extractvalue and insertvalue
instructions and constant expressions.
Note that this does not yet include CodeGen support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLLexer.cpp')
-rw-r--r-- | lib/AsmParser/LLLexer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp index 2105c7e641..42fb3b2d32 100644 --- a/lib/AsmParser/LLLexer.cpp +++ b/lib/AsmParser/LLLexer.cpp @@ -605,6 +605,8 @@ int LLLexer::LexIdentifier() { INSTKEYWORD("insertelement", OtherOpVal, InsertElement, INSERTELEMENT); INSTKEYWORD("shufflevector", OtherOpVal, ShuffleVector, SHUFFLEVECTOR); INSTKEYWORD("getresult", OtherOpVal, GetResult, GETRESULT); + INSTKEYWORD("extractvalue", OtherOpVal, ExtractValue, EXTRACTVALUE); + INSTKEYWORD("insertvalue", OtherOpVal, InsertValue, INSERTVALUE); #undef INSTKEYWORD // Check for [us]0x[0-9A-Fa-f]+ which are Hexadecimal constant generated by |