diff options
author | Florian Hahn <flo@fhahn.com> | 2024-10-11 11:26:57 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-10-11 11:27:22 +0100 |
commit | 65da32c634a8345fcbe021f69fc6a609d074c08c (patch) | |
tree | d43b0ec9aa79b68dcc95d7cf156d860d6d3aee84 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6a65e98fa7901dc1de91172d065fafb16ce89d77 (diff) | |
download | llvm-65da32c634a8345fcbe021f69fc6a609d074c08c.zip llvm-65da32c634a8345fcbe021f69fc6a609d074c08c.tar.gz llvm-65da32c634a8345fcbe021f69fc6a609d074c08c.tar.bz2 |
[LV] Account for any-of reduction when computing costs of blend phis.
Any-of reductions are narrowed to i1. Update the legacy cost model to
use the correct type when computing the cost of a phi that gets lowered
to selects (BLEND).
This fixes a divergence between legacy and VPlan-based cost models after
36fc291b6ec6d.
Fixes https://github.com/llvm/llvm-project/issues/111874.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions