[InstCombine] Don't miscompile select to poison
[oota-llvm.git] / test / Transforms / InstCombine / strncat-3.ll
index 1b25b4aca1ae9fa7c97df18313c43d66e567a684..0f6964df9154f043371980dcc3083f1c5fb002f5 100644 (file)
@@ -15,8 +15,8 @@ define void @test_nosimplify1() {
 ; CHECK: call i16* @strncat
 ; CHECK: ret void
 
-  %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* @strncat(i8* %dst, i8* %src, i32 13)
   ret void
 }