X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2F2012-03-26-PostRALICMBug.ll;h=260f059492ff8294c0b71faa88451000c9219f54;hb=73aa02eb0979ae1d0643aee03c5d0c4b1926408f;hp=d580b4f36db267359c33bcd1837608ec82c32cb2;hpb=49589f0d0e35f643e697ab7ae8a51a530d38b0d8;p=oota-llvm.git diff --git a/test/CodeGen/X86/2012-03-26-PostRALICMBug.ll b/test/CodeGen/X86/2012-03-26-PostRALICMBug.ll index d580b4f36db..260f059492f 100644 --- a/test/CodeGen/X86/2012-03-26-PostRALICMBug.ll +++ b/test/CodeGen/X86/2012-03-26-PostRALICMBug.ll @@ -1,5 +1,6 @@ +; REQUIRES: asserts ; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -stats 2>&1 | \ -; RUN: not grep {Number of machine instructions hoisted out of loops post regalloc} +; RUN: not grep "Number of machine instructions hoisted out of loops post regalloc" ; rdar://11095580 @@ -19,8 +20,8 @@ entry: indirectbr i8* undef, [label %return, label %if.end] if.end: ; preds = %entry - %size5 = getelementptr inbounds %struct.ref_s* %op, i64 0, i32 2 - %tmp6 = load i16* %size5, align 2 + %size5 = getelementptr inbounds %struct.ref_s, %struct.ref_s* %op, i64 0, i32 2 + %tmp6 = load i16, i16* %size5, align 2 %tobool1 = icmp eq i16 %tmp6, 0 %1 = select i1 %tobool1, i32 1396, i32 -1910 %index10 = add i32 %index9, %1 @@ -28,19 +29,19 @@ if.end: ; preds = %entry while.body.lr.ph: ; preds = %if.end %refs = bitcast %struct.ref_s* %op to %struct.ref_s** - %tmp9 = load %struct.ref_s** %refs, align 8 + %tmp9 = load %struct.ref_s*, %struct.ref_s** %refs, align 8 %tmp4 = zext i16 %tmp6 to i64 %index13 = add i32 %index10, 1658 %2 = sext i32 %index13 to i64 - %3 = getelementptr [3891 x i64]* @table, i64 0, i64 %2 - %blockaddress14 = load i64* %3, align 8 + %3 = getelementptr [3891 x i64], [3891 x i64]* @table, i64 0, i64 %2 + %blockaddress14 = load i64, i64* %3, align 8 %4 = inttoptr i64 %blockaddress14 to i8* indirectbr i8* %4, [label %while.body] while.body: ; preds = %while.body, %while.body.lr.ph %index7 = phi i32 [ %index15, %while.body ], [ %index13, %while.body.lr.ph ] %indvar = phi i64 [ %indvar.next, %while.body ], [ 0, %while.body.lr.ph ] - %type_attrs = getelementptr %struct.ref_s* %tmp9, i64 %indvar, i32 1 + %type_attrs = getelementptr %struct.ref_s, %struct.ref_s* %tmp9, i64 %indvar, i32 1 store i16 32, i16* %type_attrs, align 2 %indvar.next = add i64 %indvar, 1 %exitcond5 = icmp eq i64 %indvar.next, %tmp4 @@ -48,8 +49,8 @@ while.body: ; preds = %while.body, %while. %index15 = add i32 %index7, %tmp7 %tmp8 = select i1 %exitcond5, i64 13, i64 0 %5 = sext i32 %index15 to i64 - %6 = getelementptr [3891 x i64]* @table, i64 0, i64 %5 - %blockaddress16 = load i64* %6, align 8 + %6 = getelementptr [3891 x i64], [3891 x i64]* @table, i64 0, i64 %5 + %blockaddress16 = load i64, i64* %6, align 8 %7 = inttoptr i64 %blockaddress16 to i8* indirectbr i8* %7, [label %return, label %while.body]