This patch addresses some additional cases where the compiler crashes upon encountering vector GEPs. There are a few identity-like cases (e.g., getelementptr %p, 0 -> %p) present in InstSimplify and ConstantFolding and a case in ConstantFolding that tries to mark GEPs inbounds. I'm happy to split this patch up if preferable. This should fix PR36116.
Reference: https://bugs.llvm.org/show_bug.cgi?id=36116