[all-commits] [llvm/llvm-project] b85bf5: [CostModel][X86] X86TTIImpl::getCmpSelInstrCost - ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Oct 3 09:18:09 PDT 2021


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

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

  Log Message:
  -----------
  [CostModel][X86] X86TTIImpl::getCmpSelInstrCost - try to use Predicate argument directly first (PR48337)

There's still a lot of cases where getCmpSelInstrCost fails to specify a predicate, once those are in place we should be able to remove the fallback to the Instruction argument entirely.




More information about the All-commits mailing list