[PATCH] D159341: [VectorCombine] Enable transform 'scalarizeLoadExtract' for scalable vector types

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 00:57:08 PDT 2023


benshi001 added inline comments.


================
Comment at: llvm/test/Transforms/VectorCombine/AArch64/load-extractelement-scalarization.ll:97
 
 ; This is not optimized due to the index value 4 exceeds the minimum number
 ; of elements.
----------------
For scalable vector types, only the index is guaranteed to be less than the minimum length, then this transform is allowed.


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

https://reviews.llvm.org/D159341



More information about the llvm-commits mailing list