diff options
Diffstat (limited to 'test/Transforms/InstCombine/strncmp-2.ll')
-rw-r--r-- | test/Transforms/InstCombine/strncmp-2.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/strncmp-2.ll b/test/Transforms/InstCombine/strncmp-2.ll index 16ad8a4..9e19781 100644 --- a/test/Transforms/InstCombine/strncmp-2.ll +++ b/test/Transforms/InstCombine/strncmp-2.ll @@ -13,8 +13,8 @@ define i16 @test_nosimplify() { ; CHECK: call i16 @strncmp ; CHECK: ret i16 %temp1 - %str1 = getelementptr inbounds [5 x i8]* @hell, i32 0, i32 0 - %str2 = getelementptr inbounds [6 x i8]* @hello, i32 0, i32 0 + %str1 = getelementptr inbounds [5 x i8], [5 x i8]* @hell, i32 0, i32 0 + %str2 = getelementptr inbounds [6 x i8], [6 x i8]* @hello, i32 0, i32 0 %temp1 = call i16 @strncmp(i8* %str1, i8* %str2, i32 10) ret i16 %temp1 } |