[llvm] [RISCV][VLOpt] Correct the printing of LMUL in the debug messages. (PR #112413)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 15 11:10:32 PDT 2024
https://github.com/topperc created https://github.com/llvm/llvm-project/pull/112413
None
>From ff87be9f20205ce6150d625a4cc1c17f1952d007 Mon Sep 17 00:00:00 2001
From: Craig Topper <craig.topper at sifive.com>
Date: Tue, 15 Oct 2024 10:57:06 -0700
Subject: [PATCH] [RISCV][VLOpt] Correct the printing of LMUL in the debug
messages.
---
llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp b/llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
index 088f6d62dcbe78..53373b7a0f1575 100644
--- a/llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
+++ b/llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
@@ -114,10 +114,10 @@ struct OperandInfo {
return;
}
assert(EMUL && "Expected EMUL to have value");
- OS << "EMUL: ";
+ OS << "EMUL: m";
if (EMUL->second)
- OS << "m";
- OS << "f" << EMUL->first;
+ OS << "f";
+ OS << EMUL->first;
OS << ", EEW: " << (1 << Log2EEW);
}
};
More information about the llvm-commits
mailing list