diff --git a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp --- a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp +++ b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp @@ -38,7 +38,7 @@ cl::desc("Disable looking through phis when inserting vsetvlis.")); static cl::opt UseStrictAsserts( - "riscv-insert-vsetvl-strict-asserts", cl::init(false), cl::Hidden, + "riscv-insert-vsetvl-strict-asserts", cl::init(true), cl::Hidden, cl::desc("Enable strict assertion checking for the dataflow algorithm")); namespace {