Skip to content
Commit 0b98c356 authored by Philip Reames's avatar Philip Reames Committed by Philip Reames
Browse files

[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
parent 8ca614aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment