Skip to content

Commit c27fba5

Browse files
committed
Label sew and ta/ma
1 parent a0e2911 commit c27fba5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,8 @@ void RISCVInsertVSETVLI::transferBefore(VSETVLIInfo &Info,
12381238
// be coalesced into another vsetvli since we won't demand any fields.
12391239
VSETVLIInfo NewInfo; // Need a new VSETVLIInfo to clear SEWLMULRatioOnly
12401240
NewInfo.setAVLImm(1);
1241-
NewInfo.setVTYPE(RISCVII::VLMUL::LMUL_1, 8, true, true);
1241+
NewInfo.setVTYPE(RISCVII::VLMUL::LMUL_1, /*sew*/ 8, /*ta*/ true,
1242+
/*ma*/ true);
12421243
Info = NewInfo;
12431244
return;
12441245
}

0 commit comments

Comments
 (0)