[llvm] f7468a2 - [RISCV][VLOpt] Correct the printing of LMUL in the debug messages. (#112413)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 11:57:21 PDT 2024


Author: Craig Topper
Date: 2024-10-15T11:57:17-07:00
New Revision: f7468a2531dae75d0e18ce22a36bfd6e7d7588ff

URL: https://github.com/llvm/llvm-project/commit/f7468a2531dae75d0e18ce22a36bfd6e7d7588ff
DIFF: https://github.com/llvm/llvm-project/commit/f7468a2531dae75d0e18ce22a36bfd6e7d7588ff.diff

LOG: [RISCV][VLOpt] Correct the printing of LMUL in the debug messages. (#112413)

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp

Removed: 
    


################################################################################
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