[RISCVInsertVSETVLI] Generalize scalar extract (vmv.x.s, and vmx.f.s) hamdling
vmv.x.s and vmv.f.s are unconditional. They read the low element of a vector register (not vector group), and function even when VL=0 or VSTART>0. As such, they are don't care with respect to both VL and LMUL. We'd previously had handling in the forward pass only via the NoRegister mechanusm. (The only instructions with SEW but without VL are these extracts.) This patch moves that handling into getDemanded so that the backwards pass benefits as well. Differential Revision: https://reviews.llvm.org/D157991
parent
bd1ddc58
Please register or sign in to comment