summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-14 18:50:49 +0000
committerDan Gohman <gohman@apple.com>2010-02-14 18:50:49 +0000
commitbb7d52213ce50a3b292df10ab36e63d440d2a135 (patch)
tree688c467617c95d316cbb6d9ab6017c961c52c506 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd0413848ccc735afaea8cf2480e4a5cd9c8b1fd7 (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