aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-07 23:36:59 +0000
committerDan Gohman <gohman@apple.com>2010-05-07 23:36:59 +0000
commitd0800241d27b281afa9d130fa9ccb6928bb2e42d (patch)
tree8ba16568b211674795fc49d88780c0c3e4366184 /llvm/lib/Support/ErrorHandling.cpp
parent0625af2a888e9603bfded090da6f4cff17460d14 (diff)
downloadllvm-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