Teach ComputeNumSignBits about signed divisions.
[oota-llvm.git] / test / Transforms / InstCombine / 2012-09-24-MemcpyFromGlobalCrash.ll
index a31aa822e6a51e010155768e4d521c78b4cb5196..570da9be394ea465a9f5c5ad2d527501655d4b77 100644 (file)
@@ -8,11 +8,11 @@ declare void @bar(i8*)
 declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, i1) nounwind
 
 define void @test() {
-; CHECK: @test
+; CHECK-LABEL: @test(
 ; CHECK: llvm.memcpy
-; CHECK ret void
+; CHECK: ret void
   %A = alloca [100 x i8]
-  %a = getelementptr inbounds [100 x i8]* %A, i64 0, i64 0
+  %a = getelementptr inbounds [100 x i8], [100 x i8]* %A, i64 0, i64 0
   call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* getelementptr inbounds ([100 x i8]* @G, i64 0, i32 0), i64 100, i32 4, i1 false)
   call void @bar(i8* %a) readonly
   ret void