Skip to content

Commit 3564870

Browse files
authored
[RISCV] Initialize AltFmt and TWiden in the VSETVLIInfo default constructor. (#169457)
1 parent 4f5fb36 commit 3564870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ class VSETVLIInfo {
539539
public:
540540
VSETVLIInfo()
541541
: AVLImm(0), TailAgnostic(false), MaskAgnostic(false),
542-
SEWLMULRatioOnly(false) {}
542+
SEWLMULRatioOnly(false), AltFmt(false), TWiden(0) {}
543543

544544
static VSETVLIInfo getUnknown() {
545545
VSETVLIInfo Info;

0 commit comments

Comments
 (0)