[PATCH] D147976: [LSV] Improve chain splitting in some corner cases.

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 10:56:35 PDT 2023


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

Thanks, Art.



================
Comment at: llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp:673
+    // bytes. Try splitting down on power-of-2 boundary.
+    LeftBytes = PowerOf2Ceil(SizeBytes) / 2;
+  unsigned NumLeft = LeftBytes / ElementSizeBytes;
----------------
nit: add {}?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147976



More information about the llvm-commits mailing list