Skip to content

Commit 349bdba

Browse files
committed
[RISCV] Initialize AltFmt and TWiden in the VSETVLIInfo default constructor.
1 parent f0bb5cf commit 349bdba

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)