arsenm wrote: Really implementing this requires eliminating the relaxed, canonicalize dropping semantics the IR currently has (which I'm not opposed to, but this is a bigger proposal than the state of the patch suggests) https://github.com/llvm/llvm-project/pull/193055