commit | a80a7d1c30562b8c351ea50d7bf41e8c7d85d277 | [log] [tgz] |
---|---|---|
author | Sanjoy Das <sanjoy@playingwithpointers.com> | Mon Sep 26 02:44:07 2016 +0000 |
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | Mon Sep 26 02:44:07 2016 +0000 |
tree | 3364977a17c4355ffc2ab21d8fdde3de09042dfc | |
parent | 98e898ce469aebf3236321941ef7d2de8d3cd801 [diff] |
[SCEV] Combine two predicates into one; NFC Both `loopHasNoSideEffects` and `loopHasNoAbnormalExits` involve walking the loop and maintaining similar sorts of caches. This commit changes SCEV to compute both the predicates via a single walk, and maintain a single cache instead of two. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282375 91177308-0d34-0410-b5e6-96231b3b80d8