From 349bdbaebcde1857aefbcae87e70290a5ca20b86 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 24 Nov 2025 21:45:03 -0800 Subject: [PATCH] [RISCV] Initialize AltFmt and TWiden in the VSETVLIInfo default constructor. --- llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp index 2ddc9b0adb9e1..07d0d036d0b57 100644 --- a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp +++ b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp @@ -539,7 +539,7 @@ class VSETVLIInfo { public: VSETVLIInfo() : AVLImm(0), TailAgnostic(false), MaskAgnostic(false), - SEWLMULRatioOnly(false) {} + SEWLMULRatioOnly(false), AltFmt(false), TWiden(0) {} static VSETVLIInfo getUnknown() { VSETVLIInfo Info;