[all-commits] [llvm/llvm-project] ae0d73: [CostModel][X86] Adjust fptosi/fptoui SSE/AVX lega...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jul 12 12:42:28 PDT 2021


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

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

  Log Message:
  -----------
  [CostModel][X86] Adjust fptosi/fptoui SSE/AVX legalized costs based on llvm-mca reports.

Update (mainly) vXf32/vXf64 -> vXi8/vXi16 fptosi/fptoui costs based on the worst case costs from the script in D103695.

Move to using legalized types wherever possible, which allows us to prune the cost tables.




More information about the All-commits mailing list