[all-commits] [llvm/llvm-project] 301fbf: [SCEV] Clarify the overflow precondition of comput...
Philip Reames via All-commits
all-commits at lists.llvm.org
Mon Aug 30 09:49:30 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 301fbf9b8115620480db851d091cbbb516cd983d
https://github.com/llvm/llvm-project/commit/301fbf9b8115620480db851d091cbbb516cd983d
Author: Philip Reames <listmail at philipreames.com>
Date: 2021-08-30 (Mon, 30 Aug 2021)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/test/Analysis/ScalarEvolution/max-trip-count.ll
Log Message:
-----------
[SCEV] Clarify the overflow precondition of computeMaxBECountForLT [NFC]
And add a test case to illustrate that we do in fact produce the right result for the multiple exit case. I have gotten myself confused at least three times when reading this code, so clarify to prevent future confusion.
More information about the All-commits
mailing list