[PATCH] D92824: [SLP] Use the width of value truncated just before storing

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 07:06:20 PST 2020


anton-afanasyev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:5547
+      return DL->getTypeSizeInBits(Store->getValueOperand()->getType());
+  }
 
----------------
RKSimon wrote:
> Does InstrElementSize have to updated at all?
Do you mean to remove its using at all? This is just a cache for sizes needed not to traverse the expression tree multiple times.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92824/new/

https://reviews.llvm.org/D92824



More information about the llvm-commits mailing list