[all-commits] [llvm/llvm-project] 0b98c3: [RISCV] Restructure i1 insert/extract element cost...
Philip Reames via All-commits
all-commits at lists.llvm.org
Fri Aug 25 07:29:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b98c356b57ef32796e9b76b2ee73d0ea3451597
https://github.com/llvm/llvm-project/commit/0b98c356b57ef32796e9b76b2ee73d0ea3451597
Author: Philip Reames <preames at rivosinc.com>
Date: 2023-08-25 (Fri, 25 Aug 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
Log Message:
-----------
[RISCV] Restructure i1 insert/extract element costing [nfc-ish]
These get expanded through i8, so let's just model that directly instead of looking at the expanded code and trying to fit that into the flow. This results in slightly better costs for constant indices today (we can remove the add), but is mostly focused on making future changes easier.
Differential Revision: https://reviews.llvm.org/D158770
More information about the All-commits
mailing list