mikaelholmen wrote: Thanks @khei4 ! This looks good to me and I've verified that it solves the original miscompile problem I saw but I'd prefer if @nikic has a look too. https://github.com/llvm/llvm-project/pull/65882