[PATCH] D37412: [X86][MS-InlineAsm] Extended support for variables / identifiers on memory / immediate expressions
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 5 05:19:38 PDT 2017
RKSimon added inline comments.
================
Comment at: lib/Target/X86/AsmParser/X86AsmParser.cpp:1275
unsigned Scale, SMLoc Start, SMLoc End, unsigned Size, StringRef Identifier,
- InlineAsmIdentifierInfo &Info) {
+ const InlineAsmIdentifierInfo &Info) {
// If we found a decl other than a VarDecl, then assume it is a FuncDecl or
----------------
coby wrote:
> RKSimon wrote:
> > This looks like its a NFC commit that can be done separately
> can you be a bit more specific regarding the exact part which can be commited as a NFC?
> The only one i'm trivially spotting is the encapsulation of the constant symbolic reference inside of 'onIdentifierExpr', when parsing assembly (non inline-asm) content, rather than prior calling it - was that the issue you've meant?
I meant const InlineAsmIdentifierInfo &Info could be committed right now - it's only ever used as a const already.
Repository:
rL LLVM
https://reviews.llvm.org/D37412
More information about the llvm-commits
mailing list