diff options
Diffstat (limited to 'llvm/test/Transforms/InstSimplify/vector_gep.ll')
| -rw-r--r-- | llvm/test/Transforms/InstSimplify/vector_gep.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstSimplify/vector_gep.ll b/llvm/test/Transforms/InstSimplify/vector_gep.ll new file mode 100644 index 00000000000..f65260e00f5 --- /dev/null +++ b/llvm/test/Transforms/InstSimplify/vector_gep.ll @@ -0,0 +1,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 +} + |

