mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-13 00:11:56 +00:00
[ms-inline asm] Get the OpDecl and remove a redundant lookup.
Part of rdar://13663589 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180057 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
248f4965d2
commit
087c309779
@ -4119,8 +4119,7 @@ AsmParser::parseMSInlineAsm(void *AsmLoc, std::string &AsmString,
|
||||
if (SymName.empty())
|
||||
continue;
|
||||
|
||||
MCAsmParserSemaCallback::InlineAsmIdentifierInfo Info;
|
||||
void *OpDecl = SI.LookupInlineAsmIdentifier(SymName, Info);
|
||||
void *OpDecl = Operand->getOpDecl();
|
||||
if (!OpDecl)
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user