[PATCH] D102933: [SLP]Fix cost/emission of externally used extractelements.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 11:00:35 PDT 2021


ABataev added inline comments.


================
Comment at: llvm/test/Transforms/SLPVectorizer/X86/extractelement.ll:80
+; CHECK-NEXT:    [[X0X0:%.*]] = fmul float [[TMP2]], [[TMP1]]
+; CHECK-NEXT:    [[X1X1:%.*]] = fmul float [[TMP1]], [[TMP1]]
 ; CHECK-NEXT:    [[ADD:%.*]] = fadd float [[X0X0]], [[X1X1]]
----------------
ABataev wrote:
> RKSimon wrote:
> > this looks like a NFC regeneration?
> Not quite, the order of extractelements has changed
I will investigate why it happens.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102933



More information about the llvm-commits mailing list