[RISCV][COST] Refactor for costs of integer saturing add/sub
authorliqinweng <Liqin.Weng@streamcomputing.com>
Tue, 30 Aug 2022 03:24:38 +0000 (11:24 +0800)
committerliqinweng <Liqin.Weng@streamcomputing.com>
Tue, 30 Aug 2022 03:39:55 +0000 (11:39 +0800)
commit72c9f811d899651f63ebcc5b585be176ccc85bfe
treed8fe6c15c33f6ca19c7ad56b11a34b4505c829e1
parentd9d7e1211b5b0bfaacd220650b8eec8d0efe69c1
[RISCV][COST] Refactor for costs of integer saturing add/sub

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D132822
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp