summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstSimplify/vector_gep.ll
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@gmail.com>2017-06-06 10:17:14 +0000
committerJoey Gouly <joey.gouly@gmail.com>2017-06-06 10:17:14 +0000
commit61eaa63b65e7f0ba6c906d2372ad66c07e9d392c (patch)
treed8966f510c158b225dcac95fc5d0a00b39fb1966 /llvm/test/Transforms/InstSimplify/vector_gep.ll
parent8a2e00e631c24f37abb83b96dadbab8bb66893f6 (diff)
downloadbcm5719-llvm-61eaa63b65e7f0ba6c906d2372ad66c07e9d392c.tar.gz
bcm5719-llvm-61eaa63b65e7f0ba6c906d2372ad66c07e9d392c.zip
[InstSimplify] Constant fold the new GEP in SimplifyGEPInst.
llvm-svn: 304784
Diffstat (limited to 'llvm/test/Transforms/InstSimplify/vector_gep.ll')
-rw-r--r--llvm/test/Transforms/InstSimplify/vector_gep.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/InstSimplify/vector_gep.ll b/llvm/test/Transforms/InstSimplify/vector_gep.ll
index b8e61a05cc0..cdf4732d4b5 100644
--- a/llvm/test/Transforms/InstSimplify/vector_gep.ll
+++ b/llvm/test/Transforms/InstSimplify/vector_gep.ll
@@ -51,7 +51,7 @@ define <4 x i8*> @test5() {
ret <4 x i8*> %gep
; CHECK-LABEL: @test5
-; CHECK-NEXT: ret <4 x i8*> getelementptr (i8, <4 x i8*> <i8* inttoptr (i64 1 to i8*), i8* inttoptr (i64 2 to i8*), i8* inttoptr (i64 3 to i8*), i8* inttoptr (i64 4 to i8*)>, <4 x i32> <i32 1, i32 1, i32 1, i32 1>)
+; CHECK-NEXT: ret <4 x i8*> getelementptr (i8, <4 x i8*> <i8* inttoptr (i64 1 to i8*), i8* inttoptr (i64 2 to i8*), i8* inttoptr (i64 3 to i8*), i8* inttoptr (i64 4 to i8*)>, <4 x i64> <i64 1, i64 1, i64 1, i64 1>)
}
@v = global [24 x [42 x [3 x i32]]] zeroinitializer, align 16
OpenPOWER on IntegriCloud