diff options
author | Sam Parker <sam.parker@arm.com> | 2018-03-27 08:24:53 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2018-03-27 08:24:53 +0000 |
commit | 90b7f4f72c3d7725cf8d782e271df1f0329c24d6 (patch) | |
tree | 2501993530f95a59ad465737b823909013b12d57 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | ee5dd8306f14d5552ea064ae7bd7c0c90d70b570 (diff) | |
download | llvm-90b7f4f72c3d7725cf8d782e271df1f0329c24d6.zip llvm-90b7f4f72c3d7725cf8d782e271df1f0329c24d6.tar.gz llvm-90b7f4f72c3d7725cf8d782e271df1f0329c24d6.tar.bz2 |
[IRCE] Enable decreasing loops of non-const bound
As a follow-up to r328480, this updates the logic for the decreasing
safety checks in a similar manner:
- CanBeMax is replaced by CannotBeMaxInLoop which queries
isLoopEntryGuardedByCond on the maximum value.
- SumCanReachMin is replaced by isSafeDecreasingBound which includes
some logic from parseLoopStructure and, again, has been updated to
use isLoopEntryGuardedByCond on the given bounds.
Differential Revision: https://reviews.llvm.org/D44776
llvm-svn: 328613
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions