llvm-project
0967957d - [CostModel] Handle all cost kinds in getCmpSelInstrCost (#148233)

Commit
208 days ago
[CostModel] Handle all cost kinds in getCmpSelInstrCost (#148233) Currently we always produce a cost of 1 for all CostKinds that are not RecipThroughput, which can underestimate the cost if the type has a higher legalization cost (like larger vectors). This relaxes it to cover all cost kinds.
Author
Parents
Loading