llvm.org GIT mirror llvm / release_31 test / Transforms / InstSimplify / vector_gep.ll
release_31

Tree @release_31 (Download .tar.gz)

vector_gep.ll @release_31raw · history · blame

1
2
3
4
5
6
7
;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
}