Skip to content

Commit ff87be9

Browse files
committed
[RISCV][VLOpt] Correct the printing of LMUL in the debug messages.
1 parent fb858b4 commit ff87be9

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)