[PATCH] D111174: [X86][Costmodel] Improve cost modelling for not-fully-interleaved load

Jeroen Dobbelaere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 5 12:28:22 PDT 2021


jeroen.dobbelaere added inline comments.


================
Comment at: llvm/test/Transforms/LoopVectorize/X86/pr48340.ll:12
-; CHECK: vector.body:
-; CHECK:         [[WIDE_MASKED_GATHER0:%.*]] = call <4 x %0*> @llvm.masked.gather.v4p0s_s.v4p0p0s_s.0(<4 x %0**> [[TMP5:%.*]], i32 8, <4 x i1> <i1 true, i1 true, i1 true, i1 true>, <4 x %0*> undef)
-; CHECK-NEXT:    [[WIDE_MASKED_GATHER1:%.*]] = call <4 x %0*> @llvm.masked.gather.v4p0s_s.v4p0p0s_s.0(<4 x %0**> [[TMP6:%.*]], i32 8, <4 x i1> <i1 true, i1 true, i1 true, i1 true>, <4 x %0*> undef)
----------------
lebedev.ri wrote:
> @jeroen.dobbelaere this test broke. any suggestions how it can be made less fragile? :)
Any idea on how to convince (force) loop-vectorize to do the vectorization ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111174



More information about the llvm-commits mailing list