This is an archive of the discontinued LLVM Phabricator instance.

[AsmParser][GAS-compatibility] Ignore an empty 'p2align' directive
ClosedPublic

Authored by coby on Jul 30 2017, 7:35 AM.

Details

Summary

GAS ignores the aforementioned issue
this patch aligns LLVM + throws in an appropriate warning

Diff Detail

Repository
rL LLVM

Event Timeline

coby created this revision.Jul 30 2017, 7:35 AM
rnk accepted this revision.Jul 31 2017, 12:47 PM

lgtm

lib/MC/MCParser/AsmParser.cpp
3223

I'd reword this to be a normal sentence, something like:

// Ignore empty '.p2align' directives for gnu-as compatibility.
This revision is now accepted and ready to land.Jul 31 2017, 12:47 PM
This revision was automatically updated to reflect the committed changes.