HomePhabricator

[RISCV] Add support for .half, .hword, .word, .dword directives

Authored by asb on May 16 2018, 10:58 PM.

Description

[RISCV] Add support for .half, .hword, .word, .dword directives

These directives are recognised by gas. Support is added through the use of
addAliasForDirective.

Also match RISC-V gcc in preferring .half and .word for 16-bit and 32-bit data
directives.

llvm-svn: 332574

Details

Committed
asbMay 16 2018, 10:58 PM
Parents
rGa2c526471850: [X86] Add OptForSize to a couple load folding patterns. Remove some bad FIXME…
Branches
Unknown
Tags
Unknown