commit | 3e4156604fb13be70b09f773b4b26b25032fa8b2 | [log] [tgz] |
---|---|---|
author | Ramkumar Ramachandra <Ramkumar.Ramachandra@imgtec.com> | Wed Sep 27 13:00:33 2023 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Sep 27 05:09:54 2023 -0700 |
tree | 4141478d0d759df08e526f1c0f2e862e8a5fa25f | |
parent | b9cd4b8b8d79c9ec7b7ffc759c6fce2807f5fea6 [diff] |
CostModel/RISCV: tweak cost of vector ctpop under ZVBB (#67020) Under RISCV experimental-zvbb, vector variants of llvm.ctpop lower to a single instruction: vcpop. The cost-model does not check for the ZVBB extension, and always associates a high cost to vector variants of llvm.ctpop. Fix this defect. GitOrigin-RevId: 7c128f6d0e358ccf4332426b829e8f2eef9adacb