diff options
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2020-11-05 15:56:19 +0000 |
---|---|---|
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2020-11-05 16:52:47 +0000 |
commit | 7eb70158e4d03d2c1fe430ce62aa76982a483d1b (patch) | |
tree | ed5239dc096b6918d3afcce7fd2536233832ec88 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 2c2eb5e6702bf3bbb8fb8f09790b1ab7b139e879 (diff) | |
download | llvm-7eb70158e4d03d2c1fe430ce62aa76982a483d1b.zip llvm-7eb70158e4d03d2c1fe430ce62aa76982a483d1b.tar.gz llvm-7eb70158e4d03d2c1fe430ce62aa76982a483d1b.tar.bz2 |
[IndVarSimplify][SimplifyIndVar] Move WidenIV to Utils/SimplifyIndVar. NFCI.
This moves WidenIV from IndVarSimplify to Utils/SimplifyIndVar so that we have
createWideIV available as a generic helper utility. I.e., this is not only
useful in IndVarSimplify, but could be useful for loop transformations. For
example, motivation for this refactoring is the loop flatten transformation: if
induction variables in a loop nest can be widened, we can avoid having to
perform certain overflow checks, enabling this transformation.
Differential Revision: https://reviews.llvm.org/D90421
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions