[PATCH] D127884: [LangRef] Document `elementtype` attribute requirement on atomic memory intrinsics.

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 12:13:02 PDT 2022


nikic added subscribers: reames, nikic.
nikic added a comment.

Not familiar with GC requirements, but this at least sounds plausible to me (maybe @reames can confirm?) However, I think that if we go down this line, we should probably go all in: Drop the element_size argument from the intrinsics and make elementtype required by the IR verifier, and adjust lowering to perform copies in the correct type.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127884/new/

https://reviews.llvm.org/D127884



More information about the llvm-commits mailing list