[PATCH] D146747: [RISCV] Model select and insertsubvector shuffle kinds

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 09:12:16 PDT 2023


luke added inline comments.


================
Comment at: llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll:204
+; CHECK-NEXT:    [[TMP4:%.*]] = call fast <2 x float> @llvm.exp.v2f32(<2 x float> [[TMP3]])
+; CHECK-NEXT:    [[TMP5:%.*]] = shufflevector <2 x float> [[TMP4]], <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 undef, i32 undef>
+; CHECK-NEXT:    [[VECINS_31:%.*]] = shufflevector <4 x float> [[VECINS_1]], <4 x float> [[TMP5]], <4 x i32> <i32 0, i32 1, i32 4, i32 5>
----------------
@reames Just want to draw your attention to these bits being vectorised now. Presumably this is caused by the above shuffles now having a cheaper cost.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146747



More information about the llvm-commits mailing list