[InstCombine] transform more extract/insert pairs into shuffles (PR2109)
[oota-llvm.git] / test / Transforms / InstCombine / strcpy-2.ll
index bad392d7c64888b1b5bd3f8e0f37aff3ae8a59de..cfc8a410b7eec63f26e147dcf4d73cdd06fd3cc6 100644 (file)
@@ -13,8 +13,8 @@ declare i16* @strcpy(i8*, i8*)
 define void @test_no_simplify1() {
 ; CHECK-LABEL: @test_no_simplify1(
 
-  %dst = getelementptr [32 x i8]* @a, i32 0, i32 0
-  %src = getelementptr [6 x i8]* @hello, i32 0, i32 0
+  %dst = getelementptr [32 x i8], [32 x i8]* @a, i32 0, i32 0
+  %src = getelementptr [6 x i8], [6 x i8]* @hello, i32 0, i32 0
 
   call i16* @strcpy(i8* %dst, i8* %src)
 ; CHECK: call i16* @strcpy