[all-commits] [llvm/llvm-project] 77c5e6: [Analysis] Fix getOrderedReductionCost to call tar...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jul 26 09:16:09 PDT 2021


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

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/test/Analysis/CostModel/X86/reduce-fadd.ll
    M llvm/test/Analysis/CostModel/X86/reduce-fmul.ll

  Log Message:
  -----------
  [Analysis] Fix getOrderedReductionCost to call target's getArithmeticInstrCost implementation

The getOrderedReductionCost implementation introduced in D105432 calls the CRTP base version getArithmeticInstrCost instead of the redirecting to the target version.

Differential Revision: https://reviews.llvm.org/D106795




More information about the All-commits mailing list