[all-commits] [llvm/llvm-project] 5e5ba1: [CostModel][X86] Adjust fp<->int vXi32 SSE legaliz...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jul 1 07:34:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e5ba14b4d839dab361fcd929b45e9a35ca315c8
      https://github.com/llvm/llvm-project/commit/5e5ba14b4d839dab361fcd929b45e9a35ca315c8
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-07-01 (Thu, 01 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/fptoui.ll
    M llvm/test/Analysis/CostModel/X86/sitofp.ll
    M llvm/test/Analysis/CostModel/X86/uitofp.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-cast-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-cast.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 fp<->int vXi32 SSE legalized costs based on llvm-mca reports.

Building on rG2a1ef8784ad9a, adjust the SSE cost tables to use the legalized types based on the worst case costs from the script in D103695.

To account for different numbers of src/dst legalized type registers we must scale the cost by maximum of the src/dst, not just use src


  Commit: 0af9b25affc9187bc8314bc3999a0ef8b16b522a
      https://github.com/llvm/llvm-project/commit/0af9b25affc9187bc8314bc3999a0ef8b16b522a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/X86/conversion-cost.ll

  Log Message:
  -----------
  [LoopVectorize][X86] Regenerate conversion-cost.ll tests


Compare: https://github.com/llvm/llvm-project/compare/4a361f52093b...0af9b25affc9


More information about the All-commits mailing list