[CostModel][X86] X86TTIImpl::getCmpSelInstrCost - try to use Predicate argument direc...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 3 Oct 2021 16:16:45 +0000 (17:16 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 3 Oct 2021 16:16:51 +0000 (17:16 +0100)
commitb85bf520dcd9a809e3d39d4ec2d7105d9e3cc4ac
tree3c8f368c79434c4ec4668dbc78a605e0403ba054
parentd6482df683b93c852898c4a142fb3fb4db4da9f3
[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.
llvm/lib/Target/X86/X86TargetTransformInfo.cpp