diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-07 23:36:59 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-07 23:36:59 +0000 |
commit | d0800241d27b281afa9d130fa9ccb6928bb2e42d (patch) | |
tree | 8ba16568b211674795fc49d88780c0c3e4366184 /llvm/lib/Support/ErrorHandling.cpp | |
parent | 0625af2a888e9603bfded090da6f4cff17460d14 (diff) | |
download | llvm-d0800241d27b281afa9d130fa9ccb6928bb2e42d.zip llvm-d0800241d27b281afa9d130fa9ccb6928bb2e42d.tar.gz llvm-d0800241d27b281afa9d130fa9ccb6928bb2e42d.tar.bz2 |
When pruning candidate formulae out of an LSRUse, update the
LSRUse's Regs set after all pruning is done, rather than trying
to do it on the fly, which can produce an incomplete result.
This fixes a case where heuristic pruning was stripping all
formulae from a use, which led the solver to enter an infinite
loop.
Also, add a few asserts to diagnose this kind of situation.
llvm-svn: 103328
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions