We always create the VL operand using a register, but if we can
determine that it came from an ADDI X0, imm with a sufficiently
small immediate, we can use VSETIVLI.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It's my understanding that the meaning of 0 could change at some point but I think we can come to that if and when the time comes.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
3997 | This could now be addReg(VLReg)? |
This could now be addReg(VLReg)?