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
..
2008-04-19 22:26:29 +00:00
2008-04-19 22:26:29 +00:00
2008-04-19 22:26:29 +00:00
2008-04-19 22:26:29 +00:00
2008-04-19 22:26:29 +00:00
2008-07-11 00:30:06 +00:00
2009-02-02 07:24:28 +00:00
2008-04-19 22:26:29 +00:00
2008-04-19 22:26:29 +00:00
2008-06-03 01:21:11 +00:00
2009-01-15 20:18:42 +00:00