diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-25 06:36:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-25 06:36:36 +0000 |
commit | ad9ad7c827b585c018288c89d611d8c97d8d2e7d (patch) | |
tree | 7f0dc1b1b1007c1e30b9634f8a90a4e9feb9e767 /lib/Analysis/LoopPass.cpp | |
parent | 0c8f7dc67cebcb1eef5984baaa4802cb46f72797 (diff) |
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
Diffstat (limited to 'lib/Analysis/LoopPass.cpp')
0 files changed, 0 insertions, 0 deletions