Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [RISCV] Change function alignment to 4 bytes, and 2 bytes for RVC | Shiva Chen | 2018-04-12 | 1 | -0/+13 |
Summary: According RISC-V ELF psABI specification, base RV32 and RV64 ISAs only allow 32-bit instruction alignment, but instruction allow to be aligned to 16-bit boundaries for C-extension. So we just align to 4 bytes and 2 bytes for C-extension is enough. Reviewers: asb, apazos Differential Revision: https://reviews.llvm.org/D45560 Patch by Kito Cheng. llvm-svn: 329899 |