[PATCH] D74976: [CostModel][X86] Improve extract/insert element costs (PR43605)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 22 14:44:34 PST 2020


RKSimon planned changes to this revision.
RKSimon marked an inline comment as done.
RKSimon added inline comments.


================
Comment at: llvm/lib/Target/X86/X86TargetTransformInfo.cpp:2426
+
     if (Index == 0) {
       // Floating point scalars are already located in index #0.
----------------
We need to make this extractelement only.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74976





More information about the llvm-commits mailing list