[llvm] fd0a4bc - [RISCV] Add missing space to 'clang-format on' directive. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 24 17:00:51 PST 2022


Author: Craig Topper
Date: 2022-01-24T17:00:37-08:00
New Revision: fd0a4bc76bd93d81ca3acecb2ce07513d64060be

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

LOG: [RISCV] Add missing space to 'clang-format on' directive. NFC

Without a space after the comment characters it seems to be ignored.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
index 2ab9ab653328d..7baed2793e4e2 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
@@ -1729,7 +1729,7 @@ MachineInstr *RISCVInstrInfo::convertToThreeAddress(MachineInstr &MI,
     CASE_WIDEOP_CHANGE_OPCODE_LMULS(WSUB_WV)
     CASE_WIDEOP_CHANGE_OPCODE_LMULS(WSUBU_WV)
     }
-    //clang-format on
+    // clang-format on
 
     MachineBasicBlock &MBB = *MI.getParent();
     MachineInstrBuilder MIB = BuildMI(MBB, MI, MI.getDebugLoc(), get(NewOpc))


        


More information about the llvm-commits mailing list