diff options
author | Johannes Doerfert <jdoerfert@codeaurora.org> | 2014-07-24 15:59:06 +0000 |
---|---|---|
committer | Johannes Doerfert <jdoerfert@codeaurora.org> | 2014-07-24 15:59:06 +0000 |
commit | af9b1e2d80f1756237815b0cf0b556fb3a105cec (patch) | |
tree | 5f12de27ddce558f07838b6ee89f0162b1c61f49 /llvm/lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | fb3d5d175066604e3fa2ab026d99008e0904f933 (diff) | |
download | llvm-af9b1e2d80f1756237815b0cf0b556fb3a105cec.zip llvm-af9b1e2d80f1756237815b0cf0b556fb3a105cec.tar.gz llvm-af9b1e2d80f1756237815b0cf0b556fb3a105cec.tar.bz2 |
[Refactor] Remove containsLoop to find innermost loops
Use the fact that if we visit a for node first in pre and next in post order
we know we did not visit any children, thus we found an innermost loop.
+ Test case for an innermost loop with a conditional inside
llvm-svn: 213870
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions