diff options
author | David Green <david.green@arm.com> | 2025-07-15 18:08:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-15 18:08:52 +0100 |
commit | 0967957d7a94e1b5c749c6e963bdca25f3c6d749 (patch) | |
tree | 7fcd7d8b31727391b0e9340ea199092f63d26ebf /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6260d8ff8277d35ff783ba7c6febb1489eb94b24 (diff) | |
download | llvm-0967957d7a94e1b5c749c6e963bdca25f3c6d749.zip llvm-0967957d7a94e1b5c749c6e963bdca25f3c6d749.tar.gz llvm-0967957d7a94e1b5c749c6e963bdca25f3c6d749.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions