nikic wrote: @sjoerdmeijer See also some related discussion on https://github.com/llvm/llvm-project/pull/141556. My takeaway from that was that this really needs a GVN improvement first. https://github.com/llvm/llvm-project/pull/144987