HomePhabricator

[Hexagon] Use addAliasForDirective for data directives

Description

[Hexagon] Use addAliasForDirective for data directives

Data directives such as .word, .half, .hword are currently parsed using
HexagonAsmParser::ParseDirectiveValue which effectively duplicates logic from
AsmParser::parseDirectiveValue. This patch deletes that duplicated logic in
favour of using addAliasForDirective.

Differential Revision: https://reviews.llvm.org/D46999

Details

Committed
asbMay 17 2018, 6:21 AM
Differential Revision
D46999: [Hexagon] Use addAliasForDirective for data directives
Parents
rL332606: [AArch64] Correct inline assembly test case for S modifier [NFC]
Branches
Unknown
Tags
Unknown