[all-commits] [llvm/llvm-project] 779051: [CostModel][X86] getArithmeticInstrCost - use the ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Aug 26 09:36:43 PDT 2022


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

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp

  Log Message:
  -----------
  [CostModel][X86] getArithmeticInstrCost - use the cost tables for all cost kinds

The tables currently only have TCK_RecipThroughput costs, but we should now be able to add individual entries without any further refactoring


  Commit: f9445ae75c55ce4a0ff33bdaedefee00b9a27704
      https://github.com/llvm/llvm-project/commit/f9445ae75c55ce4a0ff33bdaedefee00b9a27704
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/arith-fp-codesize.ll

  Log Message:
  -----------
  [CostModel][X86] Add CodeSize handling for fneg ops

Eventually this will be part of the cost table lookup


Compare: https://github.com/llvm/llvm-project/compare/a235562c0a05...f9445ae75c55


More information about the All-commits mailing list