[all-commits] [llvm/llvm-project] 3dda24: [CostModel][TTI] Replace BAD_ICMP_PREDICATE with I...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Oct 6 08:39:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dda247e180fbe07aea67139e489fa5b3fe0d3e9
      https://github.com/llvm/llvm-project/commit/3dda247e180fbe07aea67139e489fa5b3fe0d3e9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-10-06 (Wed, 06 Oct 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/test/Analysis/CostModel/X86/fshl.ll
    M llvm/test/Analysis/CostModel/X86/fshr.ll
    M llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll

  Log Message:
  -----------
  [CostModel][TTI] Replace BAD_ICMP_PREDICATE with ICMP_EQ for generic funnel shift cost expansion

The comparison always checks for zero value so know the icmp predicate will be ICMP_EQ




More information about the All-commits mailing list