YouCompleteMe/cpp/llvm/test/Transforms/InstSimplify/vector_gep.ll

9 lines
217 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
;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
}