matthias-springer wrote: I'm not quite sure how we handle undefined behavior and side effects in this case. Maybe @joker-eph or @kuhar have some opinion. https://github.com/llvm/llvm-project/pull/139521