[PATCH] D143639: [RISCV] Add tests for .attribute stack_align

Job Noorman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 03:50:35 PST 2023


jobnoorman created this revision.
jobnoorman added reviewers: asb, craig.topper, reames, kito-cheng.
Herald added subscribers: luke, pmatos, VincentWu, vkmr, frasercrmck, jdoerfert, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, arichardson.
Herald added a project: All.
jobnoorman requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143639

Files:
  llvm/test/CodeGen/RISCV/attributes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143639.496073.patch
Type: text/x-patch
Size: 18375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230209/53ef523b/attachment.bin>


More information about the llvm-commits mailing list