[PATCH] D21330: Loop vectorization with FP induction variables
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 11:30:51 PDT 2016
delena created this revision.
delena added reviewers: sanjoy, hfinkel, mkuper, anemet, mzolotukhin.
delena added a subscriber: llvm-commits.
delena set the repository for this revision to rL LLVM.
Herald added subscribers: mzolotukhin, sanjoy.
Handling FP IVs without SCEV. Covered simple cases with constant and loop invariant step.
float *A;
float x = init;
for (int i=0; i < N; ++i) {
A[i] = x;
x -= fp_inc;
}
Repository:
rL LLVM
http://reviews.llvm.org/D21330
Files:
include/llvm/Analysis/ScalarEvolution.h
include/llvm/Transforms/Utils/LoopUtils.h
lib/Analysis/ScalarEvolutionExpander.cpp
lib/Transforms/Utils/LoopUtils.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/float-induction.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21330.60711.patch
Type: text/x-patch
Size: 19211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160614/cbb89601/attachment.bin>
More information about the llvm-commits
mailing list