X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2F2008-01-08-SchedulerCrash.ll;h=7da85d3a9a1d032819ce03dcff7a7e6ac283094c;hb=a1a323c6376719271f7f1506bd38062189328ef6;hp=266fd7b91325647ed82d805f7dd7f1dc230c13c2;hpb=d4f27d7daad0ef77927c1cbb7eab3203fc6f6a29;p=oota-llvm.git diff --git a/test/CodeGen/X86/2008-01-08-SchedulerCrash.ll b/test/CodeGen/X86/2008-01-08-SchedulerCrash.ll index 266fd7b9132..7da85d3a9a1 100644 --- a/test/CodeGen/X86/2008-01-08-SchedulerCrash.ll +++ b/test/CodeGen/X86/2008-01-08-SchedulerCrash.ll @@ -10,24 +10,24 @@ %struct.indexentry = type { i32, i8*, i8*, i8*, i8*, i8* } -define i32 @_bfd_stab_section_find_nearest_line(i32 %offset) nounwind { +define i32 @_bfd_stab_section_find_nearest_line(i32 %offset, i1 %cond) nounwind { entry: %tmp910 = add i32 0, %offset ; [#uses=1] - br i1 true, label %bb951, label %bb917 + br i1 %cond, label %bb951, label %bb917 bb917: ; preds = %entry ret i32 0 bb951: ; preds = %bb986, %entry - %tmp955 = sdiv i32 0, 2 ; [#uses=3] - %tmp961 = getelementptr %struct.indexentry* null, i32 %tmp955, i32 0 ; [#uses=1] - br i1 true, label %bb986, label %bb967 + %tmp955 = sdiv i32 %offset, 2 ; [#uses=3] + %tmp961 = getelementptr %struct.indexentry, %struct.indexentry* null, i32 %tmp955, i32 0 ; [#uses=1] + br i1 %cond, label %bb986, label %bb967 bb967: ; preds = %bb951 ret i32 0 bb986: ; preds = %bb951 - %tmp993 = load i32* %tmp961, align 4 ; [#uses=1] + %tmp993 = load i32, i32* %tmp961, align 4 ; [#uses=1] %tmp995 = icmp ugt i32 %tmp993, %tmp910 ; [#uses=2] %tmp1002 = add i32 %tmp955, 1 ; [#uses=1] %low.0 = select i1 %tmp995, i32 0, i32 %tmp1002 ; [#uses=1]