[RISCV] Refactor for costs of integer min/max
authorliqinweng <Liqin.Weng@streamcomputing.com>
Mon, 29 Aug 2022 02:10:35 +0000 (10:10 +0800)
committerliqinweng <Liqin.Weng@streamcomputing.com>
Mon, 29 Aug 2022 02:13:50 +0000 (10:13 +0800)
commita42e21deb8918b66fb03a9ba6692b0150dc54c94
tree77328adc33dbd44a6ebc8201f1ba619f654917f9
parentbab04bf72b531ae78e5ef2a62f9baa517c93ea9a
[RISCV] Refactor for costs of integer min/max

Reviewed By: reames

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