[all-commits] [llvm/llvm-project] a7da02: [CostModel][X86] Adjust sitofp/uitofp SSE/AVX lega...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jul 7 04:24:24 PDT 2021


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

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/cast.ll
    M llvm/test/Analysis/CostModel/X86/sitofp.ll
    M llvm/test/Analysis/CostModel/X86/uitofp.ll
    M llvm/test/Transforms/SLPVectorizer/X86/sitofp-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/sitofp.ll
    M llvm/test/Transforms/SLPVectorizer/X86/uitofp.ll

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

Update (mainly) vXi8/vXi16 -> vXf32/vXf64 sitofp/uitofp 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