.align is handled specially on certain targets. .align without any parameters on ARM indicates a default alignment (4). Handle the special case in the target parser, but fall back to the generic parser for the normal version.
ec1c805 ARM IAS: support .align without parameters
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 20 ++++++++++++++++++++
test/MC/ARM/directive-align.s | 28 ++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
Upstream: github.com