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:
a45a5d8
)
[ms-inline asm] Avoid emitting a redundant sizing directive, if we've already
author
Chad Rosier
<mcrosier@apple.com>
Mon, 18 Mar 2013 23:31:24 +0000
(23:31 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Mon, 18 Mar 2013 23:31:24 +0000
(23:31 +0000)
parsed one. Test case coming shortly.
rdar://
13446980
llvm-svn: 177347
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
index
4ed5534
..
1c45973
100644
(file)
--- a/
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@
-1052,9
+1052,10
@@
X86Operand *X86AsmParser::ParseIntelMemOperand(unsigned SegReg, SMLoc Start) {
unsigned tLength, tSize, tType;
SemaCallback->LookupInlineAsmIdentifier(Sym.getName(), NULL, tLength,
tSize, tType, IsVarDecl);
- if (!Size)
+ if (!Size)
{
Size = tType * 8; // Size is in terms of bits in this context.
- NeedSizeDir = Size > 0;
+ NeedSizeDir = Size > 0;
+ }
}
}
if (!isParsingInlineAsm())