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 | 30499844ead34cae1687c3fb2cb697a695a38db2 (patch) | |
tree | e4ed6d258fb8c12ad953a3352bbdb7275829dac3 /llvm/lib/AsmParser/LLLexer.cpp | |
parent | 53b2698531719c987822f8352844a23ab2d8c9d8 (diff) | |
download | bcm5719-llvm-30499844ead34cae1687c3fb2cb697a695a38db2.tar.gz bcm5719-llvm-30499844ead34cae1687c3fb2cb697a695a38db2.zip |
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.
llvm-svn: 51468
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 2105c7e641f..42fb3b2d329 100644 --- a/llvm/lib/AsmParser/LLLexer.cpp +++ b/llvm/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 |