From: Craig Topper Date: Fri, 25 Nov 2016 02:29:24 +0000 (+0000) Subject: [X86] Invert an 'if' and early out to fix a weird indentation. NFCI X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f9deb738c74438db998e6ca1e5cc6b090d97db5;p=llvm [X86] Invert an 'if' and early out to fix a weird indentation. NFCI git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287909 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86MCInstLower.cpp b/lib/Target/X86/X86MCInstLower.cpp index b6c32c025dc..49d1dbf5c06 100644 --- a/lib/Target/X86/X86MCInstLower.cpp +++ b/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);