llvm/lib/AsmParser
Chris Lattner ad9ad7c827 Fix a bug in our autoupgrade support: in an argument list to a function
call, we should treat "i64 zext" as the start of a constant expr, but
"i64 0 zext" as an argument with an obsolete attribute on it (this form
is already tested by test/Assembler/2007-07-30-AutoUpgradeZextSext.ll).

Make the autoupgrade logic more discerning to avoid treating "i64 zext"
as an old-style attribute, causing us to reject a valid constant expr.
This fixes PR3876.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67682 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-25 06:36:36 +00:00
..
CMakeLists.txt update the cmakefile. This is a "best guess", I haven't tested this. 2009-01-02 07:14:23 +00:00
LLLexer.cpp Fix internal representation of fp80 to be the 2009-03-23 21:16:53 +00:00
LLLexer.h Fix internal representation of fp80 to be the 2009-03-23 21:16:53 +00:00
LLParser.cpp Fix a bug in our autoupgrade support: in an argument list to a function 2009-03-25 06:36:36 +00:00
LLParser.h Fix two classes of bugs. First: 2009-03-09 04:49:14 +00:00
LLToken.h It makes no sense to have a ODR version of common 2009-03-11 20:14:15 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Parser.cpp Fix the path to llvm/Assembly/Parser.h in a comment. 2009-01-08 22:17:05 +00:00