commit | bd93c15ac5a24afaa28478be816ae1d4bc830267 | [log] [tgz] |
---|---|---|
author | Vaivaswatha Nagaraj <vn@compilertree.com> | Wed Apr 27 05:25:09 2016 +0000 |
committer | Vaivaswatha Nagaraj <vn@compilertree.com> | Wed Apr 27 05:25:09 2016 +0000 |
tree | 7168e47a0c196c7183a11f03753b3c6ec2e3215e | |
parent | c95e6f9aac773a396b1c6a8d41e1c8191c52cb58 [diff] |
[Cloning] cloneLoopWithPreheader(): add assert to ensure no sub-loops Summary: cloneLoopWithPreheader() does not update LoopInfo for sub-loop of the original loop being cloned. Add assert to ensure no sub-loops for loop being cloned. Reviewers: anemet, ashutosh.nema, hfinkel Subscribers: mzolotukhin, llvm-commits Differential Revision: http://reviews.llvm.org/D15922 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267671 91177308-0d34-0410-b5e6-96231b3b80d8