[all-commits] [llvm/llvm-project] 7eb701: [IndVarSimplify][SimplifyIndVar] Move WidenIV to U...
sjoerdmeijer via All-commits
all-commits at lists.llvm.org
Thu Nov 5 08:55:33 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7eb70158e4d03d2c1fe430ce62aa76982a483d1b
https://github.com/llvm/llvm-project/commit/7eb70158e4d03d2c1fe430ce62aa76982a483d1b
Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
Date: 2020-11-05 (Thu, 05 Nov 2020)
Changed paths:
M llvm/include/llvm/Transforms/Utils/SimplifyIndVar.h
M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list