[RISCV][CodeGen] Account for LMUL for Vector Integer Arithmetic Instructions
It is likley that subtargets act differently for a vector integer arithmetic instruction based on the LMUL. This patch creates seperate SchedRead, SchedWrite, WriteRes, ReadAdvance for each relevant LMUL. It also introduces the concept of an "UpperBound LMUL" which allows us to describe how an instruction should behave when the LMUL is unknown. All base instructions use the UpperBound resources because they are not tied to a specific LMUL. This gives subtargetes the flexibility to describe their own upper bounds on each vector instruction. I have a series of patches for the rest of the vector instruction set ready to go, but I would like to first get feedback on the first one of the series (this one). Differential Revision: https://reviews.llvm.org/D136730
Loading
Please sign in to comment