summaryrefslogtreecommitdiff
path: root/test/Transforms/InstSimplify/vector_gep.ll
blob: 5ac1ddef64f8a20ebba2c3992c44a8f1044d619b (plain)
1
2
3
4
5
6
7
8
;RUN: opt -instsimplify -disable-output < %s
declare void @helper(<2 x i8*>)
define void @test(<2 x i8*> %a) {
  %A = getelementptr <2 x i8*> %a, <2 x i32> <i32 0, i32 0>
  call void @helper(<2 x i8*> %A)
  ret void
}