[llvm] [RISCV] Correct RISCVTTIImpl::getIntImmCostInst for Zba (PR #128174)
Gergely Futo via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 24 04:20:27 PST 2025
futog wrote:
> The description is true but won't the AND get deleted by SelectionDAG after type legalization splits it? If the constant gets hoisted that can't happen.
Yes it should be deleted. However, this has nothing to do with the `Zba` extension? For RV32 we should return `TCC_Free`. Or?
https://github.com/llvm/llvm-project/pull/128174
More information about the llvm-commits
mailing list