To avoid that these things need stable wrapper APIs, which as it were I happen to be interested in.
I’m not sure exactly how llvm.memset.element.unordered.atomic relates to, say, core::intrinsics::volatile_store (which has a stable wrapper std::ptr::write_volatile), but I’d really like an analogue for that for doing multiple writes of the same value.
I’m thinking something with a name along the lines of one of the following:
core::ptr::write_volatile_many
core::ptr::fill_volatile
core::ptr::set_volatile