[all-commits] [llvm/llvm-project] 218f24: [RISCV] Fix ssub_sat cost model to use signed VSSU...
Jim Lin via All-commits
all-commits at lists.llvm.org
Tue Mar 24 18:54:44 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 218f240472086d243ec6a30651e7ea9c2b9b4c8b
https://github.com/llvm/llvm-project/commit/218f240472086d243ec6a30651e7ea9c2b9b4c8b
Author: Jim Lin <jim at andestech.com>
Date: 2026-03-25 (Wed, 25 Mar 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
Log Message:
-----------
[RISCV] Fix ssub_sat cost model to use signed VSSUB instead of VSSUBU (#188195)
Intrinsic::ssub_sat was incorrectly mapped to RISCV::VSSUBU_VV (unsigned
saturating subtract) instead of RISCV::VSSUB_VV (signed saturating
subtract), causing wrong cost estimates.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list