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

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 3 00:32:55 PDT 2023


benshi001 added inline comments.


================
Comment at: llvm/test/Transforms/VectorCombine/AArch64/load-extractelement-scalarization.ll:268
 
 define i32 @vscale_load_extract_idx_var_i64_not_known_valid_by_assume(ptr %x, i64 %idx) {
 ; CHECK-LABEL: @vscale_load_extract_idx_var_i64_not_known_valid_by_assume(
----------------
This is not optimized due to there is no guaranteed that index is less than the minimum length of a scalable vector.


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

https://reviews.llvm.org/D159341



More information about the llvm-commits mailing list