Nikita Popov d95f46ca84
[IR] Fix incorrect writeonly on llvm.allow.ubsan/runtime.check (#145492)
These intrinsics introduced in #84850 are currently marked as
`memory(inaccessiblemem: write)`. This is not correct for the intended
purpose of allowing per-block decisions, as such calls may get DCEd
across control-flow boundaries (which will start actually happening with
#145474).

Use `memory(inaccessiblemem: readwrite)` instead, just like all the
other control-flow sensitive intrinsics.
2025-06-25 09:12:21 +02:00
..