Ref: D93820: [InstSimplify] Don't fold gep p, -p to null and rG2ad1f5eb1a47: [InstCombine] Don't canonicalize (gep i8* X, -(ptrtoint Y)) as (inttoptr… are similar such changes landed recently.
https://alive2.llvm.org/ce/z/5KzdfL
https://alive2.llvm.org/ce/z/Sn-C-D
This whole transform needs to go away, feel free to submit that as a preparatory patch.