1; RUN: opt -instcombine %s -S | FileCheck %s
2
3; CHECK-LABEL: patatino
4; CHECK-NEXT: ret <8 x i64*> undef
5define <8 x i64*> @patatino() {
6  %el = getelementptr i64, <8 x i64*> undef, <8 x i64> undef
7  ret <8 x i64*> %el
8}
9
10; CHECK-LABEL: patatino2
11; CHECK-NEXT: ret <8 x i64*> undef
12define <8 x i64*> @patatino2() {
13  %el = getelementptr inbounds i64, i64* undef, <8 x i64> undef
14  ret <8 x i64*> %el
15}
16