[all-commits] [llvm/llvm-project] 043bc8: [CostModel][X86] Improve v2f32 fadd reduction cost

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Apr 23 08:56:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 043bc88dbada3efd8bc811efc9fef610f57d47f4
      https://github.com/llvm/llvm-project/commit/043bc88dbada3efd8bc811efc9fef610f57d47f4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/reduce-fadd.ll

  Log Message:
  -----------
  [CostModel][X86] Improve v2f32 fadd reduction cost

This was being reported as a similar cost to v4f32 when its a lot cheaper (just a shufps+addps).




More information about the All-commits mailing list