[PATCH] D107364: [VectorCombine] Limit scalarization known non-poison indices.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 07:43:33 PDT 2021


fhahn added inline comments.


================
Comment at: llvm/test/Transforms/VectorCombine/load-insert-store.ll:329
+; CHECK-NEXT:    [[VECINS:%.*]] = insertelement <16 x i8> [[TMP0]], i8 [[S:%.*]], i32 [[IDX_CLAMPED]]
+; CHECK-NEXT:    store <16 x i8> [[VECINS]], <16 x i8>* [[Q]], align 16
 ; CHECK-NEXT:    ret void
----------------
efriedma wrote:
> Please make sure we have a corresponding testcase with the appropriate freeze.
I added variants that either freeze the `%idx` operand or `%idx.clamped` in 8d2a8ced00dc


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107364



More information about the llvm-commits mailing list