projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a469361
)
[X86] Invert an 'if' and early out to fix a weird indentation. NFCI
author
Craig Topper
<craig.topper@gmail.com>
Fri, 25 Nov 2016 02:29:24 +0000
(
02:29
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Fri, 25 Nov 2016 02:29:24 +0000
(
02:29
+0000)
llvm-svn: 287909
llvm/lib/Target/X86/X86MCInstLower.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86MCInstLower.cpp
b/llvm/lib/Target/X86/X86MCInstLower.cpp
index
b6c32c0
..
49d1dbf
100644
(file)
--- 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);