[PATCH] D20695: Floating Point SCEV Analysis
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 2 06:45:06 PDT 2016
delena updated this revision to Diff 59372.
delena added a comment.
I implemented IV simplification for FP using FP SCEV. No the following loop is covered:
float x = init;
for (int i=0;i<N;i++){
A[i] = x;
x += fp_inc; // Loop invariant variable or constant
}
And the result is calculated as x = init + fp_inc*N
Repository:
rL LLVM
http://reviews.llvm.org/D20695
Files:
../include/llvm/Analysis/ScalarEvolution.h
../include/llvm/Analysis/ScalarEvolutionExpander.h
../include/llvm/Analysis/ScalarEvolutionExpressions.h
../include/llvm/Transforms/Utils/LoopUtils.h
../lib/Analysis/IVUsers.cpp
../lib/Analysis/ScalarEvolution.cpp
../lib/Analysis/ScalarEvolutionExpander.cpp
../lib/Transforms/Scalar/IndVarSimplify.cpp
../lib/Transforms/Utils/LoopUtils.cpp
../lib/Transforms/Utils/SimplifyIndVar.cpp
../lib/Transforms/Vectorize/LoopVectorize.cpp
../test/Transforms/IndVarSimplify/floating-point-iv.ll
../test/Transforms/LoopVectorize/float-induction.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20695.59372.patch
Type: text/x-patch
Size: 82567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160602/ec12a31e/attachment-0001.bin>
More information about the llvm-commits
mailing list