From d4091494d30bebaaddd82de2715754df2dbd3bcd Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 25 Nov 2016 02:29:24 +0000 Subject: [PATCH] [X86] Invert an 'if' and early out to fix a weird indentation. NFCI llvm-svn: 287909 --- llvm/lib/Target/X86/X86MCInstLower.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86MCInstLower.cpp b/llvm/lib/Target/X86/X86MCInstLower.cpp index b6c32c02..49d1dbf 100644 --- a/llvm/lib/Target/X86/X86MCInstLower.cpp +++ b/llvm/lib/Target/X86/X86MCInstLower.cpp @@ -1705,7 +1705,8 @@ void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) { CASE_ALL_MOV_RM() if (!OutStreamer->isVerboseAsm()) break; - if (MI->getNumOperands() > 4) + if (MI->getNumOperands() <= 4) + break; if (auto *C = getConstantFromPool(*MI, MI->getOperand(4))) { std::string Comment; raw_string_ostream CS(Comment); -- 2.7.4