diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2013-08-13 00:03:47 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2013-08-13 00:03:47 +0000 |
commit | 8d2e86db5a55f1225fc4156d0b88883a6ade0e0a (patch) | |
tree | 2571b406370f5654dbfa807e700056cbae8b5444 /llvm/lib/ExecutionEngine/Interpreter | |
parent | 8432d32c672ce3dceef7c20ddf13c694fdd40f16 (diff) | |
download | bcm5719-llvm-8d2e86db5a55f1225fc4156d0b88883a6ade0e0a.tar.gz bcm5719-llvm-8d2e86db5a55f1225fc4156d0b88883a6ade0e0a.zip |
Fix an oversight in isPotentiallyReachable where we wouldn't do any CFG-walking
to find loops if the From and To instructions were in the same block.
Refactor the code a little now that we need to fill to start the CFG-walking
algorithm with more than one starting basic block sometimes.
Special thanks to Andrew Trick for catching an error in my understanding of
natural loops in code review.
llvm-svn: 188236
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
0 files changed, 0 insertions, 0 deletions