Traps will not read/write the program state but they need an effect for preservation, similar to `llvm.assume`. We really want a new memory kind for that (see TODO), but for now `inaccessiblemem: write` is better than any possible effect. Differential Revision: https://reviews.llvm.org/D156476