[all-commits] [llvm/llvm-project] 96b411: [CostModel][X86] Adjust truncate SSE/AVX legalized...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jul 12 05:51:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96b4117d5155e9a903c9260c587a73779c74f3d6
      https://github.com/llvm/llvm-project/commit/96b4117d5155e9a903c9260c587a73779c74f3d6
  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/arith-fix.ll
    M llvm/test/Analysis/CostModel/X86/arith-overflow.ll
    M llvm/test/Analysis/CostModel/X86/arith.ll
    M llvm/test/Analysis/CostModel/X86/cast.ll
    M llvm/test/Analysis/CostModel/X86/fptosi.ll
    M llvm/test/Analysis/CostModel/X86/fptoui.ll
    M llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
    M llvm/test/Analysis/CostModel/X86/min-legal-vector-width.ll
    M llvm/test/Analysis/CostModel/X86/rem.ll
    M llvm/test/Analysis/CostModel/X86/slm-arith-costs.ll
    M llvm/test/Analysis/CostModel/X86/sse-itoi.ll
    M llvm/test/Analysis/CostModel/X86/trunc.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-fix.ll

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

Update truncation 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