aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstSimplify/vector_gep.ll
blob: f65260e00f54617075a2fadf487aeea5b06dd6b0 (plain)
1
2
3
4
5
6
7
8
;RUN: opt -instsimplify %s -disable-output
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
}