[PATCH] D35758: [LIR] Teach LIR to avoid extending the BE count prior to adding one to it when safe.

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 21 20:28:26 PDT 2017


sanjoy accepted this revision.
sanjoy added a comment.
This revision is now accepted and ready to land.

lgtm!



================
Comment at: lib/Transforms/Scalar/LoopIdiomRecognize.cpp:790
+                               const DataLayout *DL, ScalarEvolution *SE) {
+  const SCEV *NumBytesS;
+  // The # stored bytes is (BECount+1)*Size.  Expand the trip count out to
----------------
Not sure what the `S` at the end of `NumBytes` is for.


https://reviews.llvm.org/D35758





More information about the llvm-commits mailing list