diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-09-19 23:19:00 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-09-19 23:19:00 +0000 |
commit | 6199cad8679718337bc60eb62ec85bcacfa7237d (patch) | |
tree | 1577078ebebd3bb4aef7e2ab2adffceed5305515 /test/CodeGen/MIR | |
parent | e5c43345fbdf55530f769b8e84a52bbd71749c36 (diff) |
[LoopInfo] Make LoopBase and Loop destructors non-public
Summary:
See comment for why I think this is a good idea.
This change also:
- Removes an SCEV test case. The SCEV test was not testing anything useful (most of it was `#if 0` ed out) and it would need to be updated to deal with a private ~Loop::Loop.
- Updates the loop pass manager test case to deal with a private ~Loop::Loop.
- Renames markAsRemoved to markAsErased to contrast with removeLoop, via the usual remove vs. erase idiom we already have for instructions and basic blocks.
Reviewers: chandlerc
Subscribers: mehdi_amini, mcrosier, llvm-commits
Differential Revision: https://reviews.llvm.org/D37996
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/MIR')
0 files changed, 0 insertions, 0 deletions