[all-commits] [llvm/llvm-project] 53f738: [RISCV] Add empirical costs for integer min/max an...
Philip Reames via All-commits
all-commits at lists.llvm.org
Thu Aug 25 09:27:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 53f738ce7e6cc22d58c6cc1042c7b49cd81f75ae
https://github.com/llvm/llvm-project/commit/53f738ce7e6cc22d58c6cc1042c7b49cd81f75ae
Author: Philip Reames <preames at rivosinc.com>
Date: 2022-08-25 (Thu, 25 Aug 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/int-min-max.ll
M llvm/test/Analysis/CostModel/RISCV/int-sat-math.ll
Log Message:
-----------
[RISCV] Add empirical costs for integer min/max and saturing add/sub
All of these are lowered to a single instruction for all legal vector types.
More information about the All-commits
mailing list