[PATCH] D125035: [riscv] Add strict asserts for VSETVLI insertion algorithm to help catch bugs

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 6 08:54:05 PDT 2022


frasercrmck added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp:1193
+    }
+    assert(CurInfo == Info.Exit);
+  }
----------------
Sorry - last minute comment. Maybe an assertion message would help people report issues to us more easily.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125035/new/

https://reviews.llvm.org/D125035



More information about the llvm-commits mailing list