[llvm] [RISCV] Move RISCVInsertVSETVLI to after phi elimination (PR #91440)
    Luke Lau via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon May 13 07:38:15 PDT 2024
    
    
  
================
@@ -426,7 +438,8 @@ DemandedFields getDemanded(const MachineInstr &MI, const RISCVSubtarget *ST) {
 /// values of the VL and VTYPE registers after insertion.
 class VSETVLIInfo {
   struct AVLDef {
-    const MachineInstr *DefMI;
+    // Every AVLDef should have a VNInfo.
+    const VNInfo *VNInfo;
----------------
lukel97 wrote:
Oh thanks for catching that, I guess it doesn't show up with clang. Will rename!
https://github.com/llvm/llvm-project/pull/91440
    
    
More information about the llvm-commits
mailing list