Skip to content

Commit 497ff86

Browse files
toppercDanielCChen
authored andcommitted
[RISCV][VLOpt] Correct the printing of LMUL in the debug messages. (llvm#112413)
1 parent 234b28a commit 497ff86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ struct OperandInfo {
114114
return;
115115
}
116116
assert(EMUL && "Expected EMUL to have value");
117-
OS << "EMUL: ";
117+
OS << "EMUL: m";
118118
if (EMUL->second)
119-
OS << "m";
120-
OS << "f" << EMUL->first;
119+
OS << "f";
120+
OS << EMUL->first;
121121
OS << ", EEW: " << (1 << Log2EEW);
122122
}
123123
};

0 commit comments

Comments
 (0)