[PATCH] D125987: [SLP] Account for cost of removing FMA opportunities by horizontal reduction

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 09:52:22 PDT 2022


RKSimon added a comment.

On what target are you seeing this problem?



================
Comment at: llvm/test/Transforms/SLPVectorizer/X86/slp-fma-loss.ll:61
 ;
   %cvt0 = uitofp i16 3 to double
   %mul0 = fmul fast double 7.000000e+00, %cvt0
----------------
why is this a constant?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125987



More information about the llvm-commits mailing list