aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2025-07-15 18:08:52 +0100
committerGitHub <noreply@github.com>2025-07-15 18:08:52 +0100
commit0967957d7a94e1b5c749c6e963bdca25f3c6d749 (patch)
tree7fcd7d8b31727391b0e9340ea199092f63d26ebf /clang/lib/CodeGen/CodeGenModule.cpp
parent6260d8ff8277d35ff783ba7c6febb1489eb94b24 (diff)
downloadllvm-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