lebedev.ri added a comment. I see, thank you. This reinforces my point, this really looks like a GVN bug. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D93850/new/ https://reviews.llvm.org/D93850