diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-10 22:08:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-10 22:08:18 +0000 |
commit | 13a7db5b9c4f5e543d037be68ec3428216bfd550 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/CodeGen/X86/ragreedy-bug.ll | |
parent | 0eb46f5d1e06a4284663d636a74b06adc3a161d7 (diff) | |
parent | 31195f0bdca6ee2a5e72d07edf13e1d81206d949 (diff) | |
download | external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.zip external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.gz external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.bz2 |
am 31195f0b: Merge "Update aosp/master llvm for rebase to r233350"
* commit '31195f0bdca6ee2a5e72d07edf13e1d81206d949':
Update aosp/master llvm for rebase to r233350
Diffstat (limited to 'test/CodeGen/X86/ragreedy-bug.ll')
-rw-r--r-- | test/CodeGen/X86/ragreedy-bug.ll | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/test/CodeGen/X86/ragreedy-bug.ll b/test/CodeGen/X86/ragreedy-bug.ll index 83ac274..e842631 100644 --- a/test/CodeGen/X86/ragreedy-bug.ll +++ b/test/CodeGen/X86/ragreedy-bug.ll @@ -30,31 +30,31 @@ declare i32 @__maskrune(i32, i64) #7 define fastcc i32 @prune_match(%struct.Connector_struct* nocapture readonly %a, %struct.Connector_struct* nocapture readonly %b) #9 { entry: %label56 = bitcast %struct.Connector_struct* %a to i16* - %0 = load i16* %label56, align 2 + %0 = load i16, i16* %label56, align 2 %label157 = bitcast %struct.Connector_struct* %b to i16* - %1 = load i16* %label157, align 2 + %1 = load i16, i16* %label157, align 2 %cmp = icmp eq i16 %0, %1 br i1 %cmp, label %if.end, label %return, !prof !988 if.end: - %priority = getelementptr inbounds %struct.Connector_struct* %a, i64 0, i32 2 - %2 = load i8* %priority, align 1 - %priority5 = getelementptr inbounds %struct.Connector_struct* %b, i64 0, i32 2 - %3 = load i8* %priority5, align 1 - %string = getelementptr inbounds %struct.Connector_struct* %a, i64 0, i32 5 - %4 = load i8** %string, align 8 - %string7 = getelementptr inbounds %struct.Connector_struct* %b, i64 0, i32 5 - %5 = load i8** %string7, align 8 + %priority = getelementptr inbounds %struct.Connector_struct, %struct.Connector_struct* %a, i64 0, i32 2 + %2 = load i8, i8* %priority, align 1 + %priority5 = getelementptr inbounds %struct.Connector_struct, %struct.Connector_struct* %b, i64 0, i32 2 + %3 = load i8, i8* %priority5, align 1 + %string = getelementptr inbounds %struct.Connector_struct, %struct.Connector_struct* %a, i64 0, i32 5 + %4 = load i8*, i8** %string, align 8 + %string7 = getelementptr inbounds %struct.Connector_struct, %struct.Connector_struct* %b, i64 0, i32 5 + %5 = load i8*, i8** %string7, align 8 br label %while.cond while.cond: %lsr.iv27 = phi i64 [ %lsr.iv.next28, %if.end17 ], [ 0, %if.end ] - %scevgep55 = getelementptr i8* %4, i64 %lsr.iv27 - %6 = load i8* %scevgep55, align 1 + %scevgep55 = getelementptr i8, i8* %4, i64 %lsr.iv27 + %6 = load i8, i8* %scevgep55, align 1 %idxprom.i.i = sext i8 %6 to i64 %isascii.i.i224 = icmp sgt i8 %6, -1 br i1 %isascii.i.i224, label %cond.true.i.i, label %cond.false.i.i, !prof !181 cond.true.i.i: - %arrayidx.i.i = getelementptr inbounds %struct._RuneLocale* @_DefaultRuneLocale, i64 0, i32 5, i64 %idxprom.i.i - %7 = load i32* %arrayidx.i.i, align 4 + %arrayidx.i.i = getelementptr inbounds %struct._RuneLocale, %struct._RuneLocale* @_DefaultRuneLocale, i64 0, i32 5, i64 %idxprom.i.i + %7 = load i32, i32* %arrayidx.i.i, align 4 %and.i.i = and i32 %7, 32768 br label %isupper.exit cond.false.i.i: @@ -70,13 +70,13 @@ lor.rhs: %sunkaddr = ptrtoint i8* %5 to i64 %sunkaddr58 = add i64 %sunkaddr, %lsr.iv27 %sunkaddr59 = inttoptr i64 %sunkaddr58 to i8* - %9 = load i8* %sunkaddr59, align 1 + %9 = load i8, i8* %sunkaddr59, align 1 %idxprom.i.i214 = sext i8 %9 to i64 %isascii.i.i213225 = icmp sgt i8 %9, -1 br i1 %isascii.i.i213225, label %cond.true.i.i217, label %cond.false.i.i219, !prof !181 cond.true.i.i217: - %arrayidx.i.i215 = getelementptr inbounds %struct._RuneLocale* @_DefaultRuneLocale, i64 0, i32 5, i64 %idxprom.i.i214 - %10 = load i32* %arrayidx.i.i215, align 4 + %arrayidx.i.i215 = getelementptr inbounds %struct._RuneLocale, %struct._RuneLocale* @_DefaultRuneLocale, i64 0, i32 5, i64 %idxprom.i.i214 + %10 = load i32, i32* %arrayidx.i.i215, align 4 %and.i.i216 = and i32 %10, 32768 br label %isupper.exit223 cond.false.i.i219: @@ -92,11 +92,11 @@ while.body: %sunkaddr60 = ptrtoint i8* %4 to i64 %sunkaddr61 = add i64 %sunkaddr60, %lsr.iv27 %sunkaddr62 = inttoptr i64 %sunkaddr61 to i8* - %12 = load i8* %sunkaddr62, align 1 + %12 = load i8, i8* %sunkaddr62, align 1 %sunkaddr63 = ptrtoint i8* %5 to i64 %sunkaddr64 = add i64 %sunkaddr63, %lsr.iv27 %sunkaddr65 = inttoptr i64 %sunkaddr64 to i8* - %13 = load i8* %sunkaddr65, align 1 + %13 = load i8, i8* %sunkaddr65, align 1 %cmp14 = icmp eq i8 %12, %13 br i1 %cmp14, label %if.end17, label %return, !prof !991 if.end17: @@ -110,13 +110,13 @@ if.then23: %sunkaddr66 = ptrtoint %struct.Connector_struct* %a to i64 %sunkaddr67 = add i64 %sunkaddr66, 16 %sunkaddr68 = inttoptr i64 %sunkaddr67 to i8** - %16 = load i8** %sunkaddr68, align 8 - %17 = load i8* %16, align 1 + %16 = load i8*, i8** %sunkaddr68, align 8 + %17 = load i8, i8* %16, align 1 %cmp26 = icmp eq i8 %17, 83 %sunkaddr69 = ptrtoint i8* %4 to i64 %sunkaddr70 = add i64 %sunkaddr69, %lsr.iv27 %sunkaddr71 = inttoptr i64 %sunkaddr70 to i8* - %18 = load i8* %sunkaddr71, align 1 + %18 = load i8, i8* %sunkaddr71, align 1 br i1 %cmp26, label %land.lhs.true28, label %while.cond59.preheader, !prof !993 land.lhs.true28: switch i8 %18, label %land.rhs.preheader [ @@ -127,24 +127,24 @@ land.lhs.true35: %sunkaddr72 = ptrtoint i8* %5 to i64 %sunkaddr73 = add i64 %sunkaddr72, %lsr.iv27 %sunkaddr74 = inttoptr i64 %sunkaddr73 to i8* - %19 = load i8* %sunkaddr74, align 1 + %19 = load i8, i8* %sunkaddr74, align 1 switch i8 %19, label %land.rhs.preheader [ i8 112, label %land.lhs.true43 ], !prof !995 land.lhs.true43: %20 = ptrtoint i8* %16 to i64 %21 = sub i64 0, %20 - %scevgep52 = getelementptr i8* %4, i64 %21 - %scevgep53 = getelementptr i8* %scevgep52, i64 %lsr.iv27 - %scevgep54 = getelementptr i8* %scevgep53, i64 -1 + %scevgep52 = getelementptr i8, i8* %4, i64 %21 + %scevgep53 = getelementptr i8, i8* %scevgep52, i64 %lsr.iv27 + %scevgep54 = getelementptr i8, i8* %scevgep53, i64 -1 %cmp45 = icmp eq i8* %scevgep54, null br i1 %cmp45, label %return, label %lor.lhs.false47, !prof !996 lor.lhs.false47: %22 = ptrtoint i8* %16 to i64 %23 = sub i64 0, %22 - %scevgep47 = getelementptr i8* %4, i64 %23 - %scevgep48 = getelementptr i8* %scevgep47, i64 %lsr.iv27 - %scevgep49 = getelementptr i8* %scevgep48, i64 -2 + %scevgep47 = getelementptr i8, i8* %4, i64 %23 + %scevgep48 = getelementptr i8, i8* %scevgep47, i64 %lsr.iv27 + %scevgep49 = getelementptr i8, i8* %scevgep48, i64 -2 %cmp50 = icmp eq i8* %scevgep49, null br i1 %cmp50, label %land.lhs.true52, label %while.cond59.preheader, !prof !997 land.lhs.true52: @@ -152,7 +152,7 @@ land.lhs.true52: %sunkaddr76 = add i64 %sunkaddr75, %lsr.iv27 %sunkaddr77 = add i64 %sunkaddr76, -1 %sunkaddr78 = inttoptr i64 %sunkaddr77 to i8* - %24 = load i8* %sunkaddr78, align 1 + %24 = load i8, i8* %sunkaddr78, align 1 %cmp55 = icmp eq i8 %24, 73 %cmp61233 = icmp eq i8 %18, 0 %or.cond265 = or i1 %cmp55, %cmp61233 @@ -161,14 +161,14 @@ while.cond59.preheader: %cmp61233.old = icmp eq i8 %18, 0 br i1 %cmp61233.old, label %return, label %land.rhs.preheader, !prof !999 land.rhs.preheader: - %scevgep33 = getelementptr i8* %5, i64 %lsr.iv27 - %scevgep43 = getelementptr i8* %4, i64 %lsr.iv27 + %scevgep33 = getelementptr i8, i8* %5, i64 %lsr.iv27 + %scevgep43 = getelementptr i8, i8* %4, i64 %lsr.iv27 br label %land.rhs land.rhs: %lsr.iv = phi i64 [ 0, %land.rhs.preheader ], [ %lsr.iv.next, %if.then83 ] %25 = phi i8 [ %27, %if.then83 ], [ %18, %land.rhs.preheader ] - %scevgep34 = getelementptr i8* %scevgep33, i64 %lsr.iv - %26 = load i8* %scevgep34, align 1 + %scevgep34 = getelementptr i8, i8* %scevgep33, i64 %lsr.iv + %26 = load i8, i8* %scevgep34, align 1 %cmp64 = icmp eq i8 %26, 0 br i1 %cmp64, label %return, label %while.body66, !prof !1000 while.body66: @@ -182,9 +182,9 @@ lor.lhs.false74: %or.cond208 = or i1 %cmp77, %cmp81 br i1 %or.cond208, label %return, label %if.then83, !prof !1002 if.then83: - %scevgep44 = getelementptr i8* %scevgep43, i64 %lsr.iv - %scevgep45 = getelementptr i8* %scevgep44, i64 1 - %27 = load i8* %scevgep45, align 1 + %scevgep44 = getelementptr i8, i8* %scevgep43, i64 %lsr.iv + %scevgep45 = getelementptr i8, i8* %scevgep44, i64 1 + %27 = load i8, i8* %scevgep45, align 1 %cmp61 = icmp eq i8 %27, 0 %lsr.iv.next = add i64 %lsr.iv, 1 br i1 %cmp61, label %return, label %land.rhs, !prof !999 @@ -197,18 +197,18 @@ while.cond95.preheader: %sunkaddr79 = ptrtoint i8* %4 to i64 %sunkaddr80 = add i64 %sunkaddr79, %lsr.iv27 %sunkaddr81 = inttoptr i64 %sunkaddr80 to i8* - %28 = load i8* %sunkaddr81, align 1 + %28 = load i8, i8* %sunkaddr81, align 1 %cmp97238 = icmp eq i8 %28, 0 br i1 %cmp97238, label %return, label %land.rhs99.preheader, !prof !1004 land.rhs99.preheader: - %scevgep31 = getelementptr i8* %5, i64 %lsr.iv27 - %scevgep40 = getelementptr i8* %4, i64 %lsr.iv27 + %scevgep31 = getelementptr i8, i8* %5, i64 %lsr.iv27 + %scevgep40 = getelementptr i8, i8* %4, i64 %lsr.iv27 br label %land.rhs99 land.rhs99: %lsr.iv17 = phi i64 [ 0, %land.rhs99.preheader ], [ %lsr.iv.next18, %if.then117 ] %29 = phi i8 [ %31, %if.then117 ], [ %28, %land.rhs99.preheader ] - %scevgep32 = getelementptr i8* %scevgep31, i64 %lsr.iv17 - %30 = load i8* %scevgep32, align 1 + %scevgep32 = getelementptr i8, i8* %scevgep31, i64 %lsr.iv17 + %30 = load i8, i8* %scevgep32, align 1 %cmp101 = icmp eq i8 %30, 0 br i1 %cmp101, label %return, label %while.body104, !prof !1005 while.body104: @@ -219,9 +219,9 @@ while.body104: %or.cond210 = or i1 %or.cond209, %cmp115 br i1 %or.cond210, label %if.then117, label %return, !prof !1006 if.then117: - %scevgep41 = getelementptr i8* %scevgep40, i64 %lsr.iv17 - %scevgep42 = getelementptr i8* %scevgep41, i64 1 - %31 = load i8* %scevgep42, align 1 + %scevgep41 = getelementptr i8, i8* %scevgep40, i64 %lsr.iv17 + %scevgep42 = getelementptr i8, i8* %scevgep41, i64 1 + %31 = load i8, i8* %scevgep42, align 1 %cmp97 = icmp eq i8 %31, 0 %lsr.iv.next18 = add i64 %lsr.iv17, 1 br i1 %cmp97, label %return, label %land.rhs99, !prof !1004 @@ -234,18 +234,18 @@ while.cond130.preheader: %sunkaddr82 = ptrtoint i8* %4 to i64 %sunkaddr83 = add i64 %sunkaddr82, %lsr.iv27 %sunkaddr84 = inttoptr i64 %sunkaddr83 to i8* - %32 = load i8* %sunkaddr84, align 1 + %32 = load i8, i8* %sunkaddr84, align 1 %cmp132244 = icmp eq i8 %32, 0 br i1 %cmp132244, label %return, label %land.rhs134.preheader, !prof !1008 land.rhs134.preheader: - %scevgep29 = getelementptr i8* %5, i64 %lsr.iv27 - %scevgep37 = getelementptr i8* %4, i64 %lsr.iv27 + %scevgep29 = getelementptr i8, i8* %5, i64 %lsr.iv27 + %scevgep37 = getelementptr i8, i8* %4, i64 %lsr.iv27 br label %land.rhs134 land.rhs134: %lsr.iv22 = phi i64 [ 0, %land.rhs134.preheader ], [ %lsr.iv.next23, %if.then152 ] %33 = phi i8 [ %35, %if.then152 ], [ %32, %land.rhs134.preheader ] - %scevgep30 = getelementptr i8* %scevgep29, i64 %lsr.iv22 - %34 = load i8* %scevgep30, align 1 + %scevgep30 = getelementptr i8, i8* %scevgep29, i64 %lsr.iv22 + %34 = load i8, i8* %scevgep30, align 1 %cmp136 = icmp eq i8 %34, 0 br i1 %cmp136, label %return, label %while.body139, !prof !1009 while.body139: @@ -256,9 +256,9 @@ while.body139: %or.cond212 = or i1 %or.cond211, %cmp150 br i1 %or.cond212, label %if.then152, label %return, !prof !1010 if.then152: - %scevgep38 = getelementptr i8* %scevgep37, i64 %lsr.iv22 - %scevgep39 = getelementptr i8* %scevgep38, i64 1 - %35 = load i8* %scevgep39, align 1 + %scevgep38 = getelementptr i8, i8* %scevgep37, i64 %lsr.iv22 + %scevgep39 = getelementptr i8, i8* %scevgep38, i64 1 + %35 = load i8, i8* %scevgep39, align 1 %cmp132 = icmp eq i8 %35, 0 %lsr.iv.next23 = add i64 %lsr.iv22, 1 br i1 %cmp132, label %return, label %land.rhs134, !prof !1008 |