Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/llvm/MC/MCParser/MCAsmParser.h | ||
---|---|---|
43 ↗ | (On Diff #113658) | Preferred enum style is enum IdKind { IK_Invalid, // Initial state. Unexpected after a successful parsing. IK_Label, // Function/Label reference. IK_EnumVal, // Value of enumration type. IK_Var // Variable. }; |
lib/Target/X86/AsmParser/X86AsmParser.cpp | ||
589 ↗ | (On Diff #113658) | if (IDInfo.isKind(InlineAsmIdentifierInfo::EnumValKind)) return onInteger(IDInfo.Enum.EnumVal, ErrMsg); |
595 ↗ | (On Diff #113658) | // Treat a symbolic constant like an integer if (auto *CE = dyn_cast<MCConstantExpr>(SymRef)) return onInteger(CE->getValue(), ErrMsg); |
1275 ↗ | (On Diff #113658) | This looks like its a NFC commit that can be done separately |
include/llvm/MC/MCParser/MCAsmParser.h | ||
---|---|---|
43 ↗ | (On Diff #113658) | accepted |
lib/Target/X86/AsmParser/X86AsmParser.cpp | ||
1275 ↗ | (On Diff #113658) | can you be a bit more specific regarding the exact part which can be commited as a NFC? |
lib/Target/X86/AsmParser/X86AsmParser.cpp | ||
---|---|---|
1275 ↗ | (On Diff #113658) | I meant const InlineAsmIdentifierInfo &Info could be committed right now - it's only ever used as a const already. |
Comment Actions
also, i'll appreciate if you may review/accept the (essential) frontend changes - D37413