[all-commits] [llvm/llvm-project] 7c128f: CostModel/RISCV: tweak cost of vector ctpop under ...
Ramkumar Ramachandra via All-commits
all-commits at lists.llvm.org
Wed Sep 27 05:00:47 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c128f6d0e358ccf4332426b829e8f2eef9adacb
https://github.com/llvm/llvm-project/commit/7c128f6d0e358ccf4332426b829e8f2eef9adacb
Author: Ramkumar Ramachandra <Ramkumar.Ramachandra at imgtec.com>
Date: 2023-09-27 (Wed, 27 Sep 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/int-bit-manip.ll
Log Message:
-----------
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.
More information about the All-commits
mailing list