This will allow us to use the datalayout to disambiguate other constructs in IR, like load alignment. Split off from D78403.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM.
I didn't know we had weird header infos in the middle of test files.
| llvm/lib/AsmParser/LLParser.cpp | ||
|---|---|---|
| 303–313 | [suggestion] while (true) {
if (Lex.getKind() == lltok::kw_target) {
if (ParseTargetDefinition())
return true;
continue;
}
if (Lex.getKind() == lltok::kw_source_filename) {
if (ParseSourceFileName())
return true;
continue;
}
return false;
} | |
[suggestion]
while (true) { if (Lex.getKind() == lltok::kw_target) { if (ParseTargetDefinition()) return true; continue; } if (Lex.getKind() == lltok::kw_source_filename) { if (ParseSourceFileName()) return true; continue; } return false; }