ARM IAS: support .align without parameters

Programming / Compilers / LLVM - Saleem Abdulrasool [compnerd.org] - 23 February 2014 11:45 UTC

.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


  • Share