[all-commits] [llvm/llvm-project] cdca17: [CostModel][X86] Adjust uitofp(vXi64) SSE/AVX lega...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jul 2 05:14:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cdca1785d35f41ef154d7271bf97c4d1d0e69995
      https://github.com/llvm/llvm-project/commit/cdca1785d35f41ef154d7271bf97c4d1d0e69995
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-07-02 (Fri, 02 Jul 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/uitofp.ll
    M llvm/test/Transforms/LoopVectorize/X86/uint64_to_fp64-cost-model.ll
    M llvm/test/Transforms/SLPVectorizer/X86/uitofp.ll

  Log Message:
  -----------
  [CostModel][X86] Adjust uitofp(vXi64) SSE/AVX legalized costs based on llvm-mca reports.

Update v4i64 -> v4f32/v4f64 uitofp costs based on the worst case costs from the script in D103695.

Fixes a few regressions before we start adding AVX costs for legalized types.




More information about the All-commits mailing list