diff options
| author | Dan Gohman <gohman@apple.com> | 2010-02-14 18:50:49 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-02-14 18:50:49 +0000 |
| commit | bb7d52213ce50a3b292df10ab36e63d440d2a135 (patch) | |
| tree | 688c467617c95d316cbb6d9ab6017c961c52c506 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | d0413848ccc735afaea8cf2480e4a5cd9c8b1fd7 (diff) | |
When complicated expressions are broken down into subexpressions
with multiplication by constants distributed through, occasionally
those subexpressions can include both x and -x. For now, if this
condition is discovered within LSR, just prune such cases away,
as they won't be profitable. This fixes a "zero allocated in a
base register" assertion failure.
llvm-svn: 96177
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
