[RISCV] Add tests for .attribute stack_align
authorJob Noorman <jnoorman@igalia.com>
Fri, 10 Feb 2023 11:50:26 +0000 (19:50 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Fri, 10 Feb 2023 13:22:02 +0000 (21:22 +0800)
commitb3477f579c86ac104a5789e9233e2dda83b9d048
treedb6af0d15c159c13cb5f8bc8e465704466bc677b
parent9dcd7195a21c65d51b703f4b270e62461d18cd69
[RISCV] Add tests for .attribute stack_align

As suggested by @asb [here](https://reviews.llvm.org/D143570#4112877), we need tests for `.attribute stack_align`. This patch simply verifies a stack alignment of 16 is emitted for any combination of currently supported base ISA and extensions.

Reviewed By: asb, kito-cheng

Differential Revision: https://reviews.llvm.org/D143639
llvm/test/CodeGen/RISCV/attributes.ll