[PATCH] D106738: [RISCV] Use getNaturalPointeeTypeAlignment to get alignment for stores created for vector builtins.

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 23 21:43:22 PDT 2021


craig.topper created this revision.
craig.topper added reviewers: HsiangKai, evandro, khchen, arcbbb.
Herald added subscribers: StephenFan, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb.
craig.topper requested review of this revision.
Herald added a project: clang.

Instead of using scalar size divided by 8 for segment loads, get
the alignment from clang's type system.

Make vleff match for consistency.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106738

Files:
  clang/include/clang/Basic/riscv_vector.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106738.361412.patch
Type: text/x-patch
Size: 5857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210724/6665c007/attachment.bin>


More information about the cfe-commits mailing list