[PATCH] D15177: [LoopVectorizer] Refine loop vectorizer's register usage calculator by ignoring specific instructions.
Hal Finkel via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 12 17:17:49 PST 2015
hfinkel accepted this revision.
hfinkel added a comment.
LGTM.
================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:5645
@@ +5644,3 @@
+ SmallPtrSetImpl<Instruction *> &Casts = RedDes.getCastInsts();
+ VecValuesToIgnore.insert(Casts.begin(), Casts.end());
+ }
----------------
congh wrote:
> Now the only contributor are ephemeral values that are added above.
That makes sense.
http://reviews.llvm.org/D15177
More information about the llvm-commits
mailing list