[llvm] b8c06f1 - [RISCV][TableGen] Correct formatting in RISCVGenCompressInstEmitter.inc. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 13:35:26 PST 2023


Author: Craig Topper
Date: 2023-01-17T13:35:13-08:00
New Revision: b8c06f15de7db62824e5b3cafe5216ab966b811d

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

LOG: [RISCV][TableGen] Correct formatting in RISCVGenCompressInstEmitter.inc. NFC

Added: 
    

Modified: 
    llvm/utils/TableGen/CompressInstEmitter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/utils/TableGen/CompressInstEmitter.cpp b/llvm/utils/TableGen/CompressInstEmitter.cpp
index ccc234515e31..033bb0caa8f0 100644
--- a/llvm/utils/TableGen/CompressInstEmitter.cpp
+++ b/llvm/utils/TableGen/CompressInstEmitter.cpp
@@ -613,8 +613,8 @@ void CompressInstEmitter::emitCompressInstEmitter(raw_ostream &o,
     FuncH.indent(27) << "const MCSubtargetInfo &STI) {\n";
   } else if (EType == EmitterType::CheckCompress) {
     FuncH << "static bool isCompressibleInst(const MachineInstr &MI,\n";
-    FuncH.indent(27) << "const " << TargetName << "Subtarget *Subtarget,\n";
-    FuncH.indent(27) << "const MCSubtargetInfo &STI) {\n";
+    FuncH.indent(31) << "const " << TargetName << "Subtarget *Subtarget,\n";
+    FuncH.indent(31) << "const MCSubtargetInfo &STI) {\n";
   }
 
   if (CompressPatterns.empty()) {


        


More information about the llvm-commits mailing list