[llvm] [RISCV] Teach RISCVInsertVSETVLI to work without LiveIntervals (PR #94686)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 10:14:20 PDT 2024


================
@@ -52,6 +52,8 @@ namespace {
 static VNInfo *getVNInfoFromReg(Register Reg, const MachineInstr &MI,
----------------
lukel97 wrote:

Nit, should probably update the comment to mention it will return nullptr if LIS is null too

https://github.com/llvm/llvm-project/pull/94686


More information about the llvm-commits mailing list