aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/strlen-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/strlen-2.ll')
-rw-r--r--test/Transforms/InstCombine/strlen-2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/strlen-2.ll b/test/Transforms/InstCombine/strlen-2.ll
index 6652a31..df5eee0 100644
--- a/test/Transforms/InstCombine/strlen-2.ll
+++ b/test/Transforms/InstCombine/strlen-2.ll
@@ -10,7 +10,7 @@ declare i32 @strlen(i8*, i32)
define i32 @test_no_simplify1() {
; CHECK-LABEL: @test_no_simplify1(
- %hello_p = getelementptr [6 x i8]* @hello, i32 0, i32 0
+ %hello_p = getelementptr [6 x i8], [6 x i8]* @hello, i32 0, i32 0
%hello_l = call i32 @strlen(i8* %hello_p, i32 187)
; CHECK-NEXT: %hello_l = call i32 @strlen
ret i32 %hello_l