[RISCV] simplify emitVSETVLIs handling of vsetvli xN, phi(), vtype case [NFC]
authorPhilip Reames <preames@rivosinc.com>
Tue, 14 Jun 2022 14:45:40 +0000 (07:45 -0700)
committerPhilip Reames <listmail@philipreames.com>
Tue, 14 Jun 2022 15:00:24 +0000 (08:00 -0700)
commit7659dc6cddab6ad29530076df5be32f3d2f7e4e3
tree37f1c7c4cc0e54e1709bed78360d30ea83b41778
parent48e1829874df15fd57e731d4824604f28e177585
[RISCV] simplify emitVSETVLIs handling of vsetvli xN, phi(), vtype case [NFC]

This is possibly somewhat subjective, but having an explicitly named flag to track the property required and code structure that more closely matches phase 1/2 of the dataflow seems much easier to read.

Differential Revision: https://reviews.llvm.org/D126893
llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp