[all-commits] [llvm/llvm-project] 55b1a1: [CostModel][X86] getArithmeticInstrCost - use MUL/...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Aug 18 06:23:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55b1a147f263630535ee271dbba0c1b6a863456a
      https://github.com/llvm/llvm-project/commit/55b1a147f263630535ee271dbba0c1b6a863456a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/arith-costkinds.ll
    M llvm/test/Analysis/CostModel/X86/div-costkinds.ll
    M llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
    M llvm/test/Analysis/CostModel/X86/rem-costkinds.ll

  Log Message:
  -----------
  [CostModel][X86] getArithmeticInstrCost - use MUL/DIV/REM expansions for all cost kinds

The costs tables still assume throughput, but the general expansion patterns should be good for any cost kind




More information about the All-commits mailing list