Started 7 days 23 hr ago
Took 41 min on green-dragon-17

Failed Build r315593 (#21751) (Oct 12, 2017 11:19:36 AM)

Revisions
  • http://llvm.org/svn/llvm-project/llvm/trunk : 315593
  • http://llvm.org/svn/llvm-project/cfe/trunk : 315586
  • http://llvm.org/svn/llvm-project/compiler-rt/trunk : 315583
  • http://llvm.org/svn/llvm-project/debuginfo-tests/trunk : 313634
  • http://llvm.org/svn/llvm-project/libcxx/trunk : 315582
  • http://llvm.org/svn/llvm-project/clang-tools-extra/trunk : 315580
Changes
  1. Reintroduce "[SCCP] Propagate integer range info for parameters in IPSCCP."

    This is r315288 & r315294, which were reverted due to stage2 bot
    failures.

    Summary:
    This updates the SCCP solver to use of the ValueElement lattice for
    parameters, which provides integer range information. The range
    information is used to remove unneeded icmp instructions.

    For the following function, f() can be optimized to `ret i32 2` with
    this change

      source_filename = "sccp.c"
      target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
      target triple = "x86_64-unknown-linux-gnu"

      ; Function Attrs: norecurse nounwind readnone uwtable
      define i32 @main() local_unnamed_addr #0 {
      entry:
        %call = tail call fastcc i32 @f(i32 1)
        %call1 = tail call fastcc i32 @f(i32 47)
        %add3 = add nsw i32 %call, %call1
        ret i32 %add3
      }

      ; Function Attrs: noinline norecurse nounwind readnone uwtable
      define internal fastcc i32 @f(i32 %x) unnamed_addr #1 {
      entry:
        %c1 = icmp sle i32 %x, 100

        %cmp = icmp sgt i32 %x, 300
        %. = select i1 %cmp, i32 1, i32 2
        ret i32 %.
      }

      attributes #1 = { noinline }

    Reviewers: davide, sanjoy, efriedma, dberlin

    Reviewed By: davide, dberlin

    Subscribers: mcrosier, gberry, mssimpso, dberlin, llvm-commits

    Differential Revision: https://reviews.llvm.org/D36656 (detail/ViewSVN)
    by Bruno Lopes
  2. [PowerPC] Add profitablilty check for conversion to mtctr loops

    Add profitability checks for modifying counted loops to use the mtctr instruction.

    The latency of mtctr is only justified if there are more than 4 comparisons that
    will be removed as a result.  Usually counted loops are formed relatively early
    and before unrolling, so most low trip count loops often don't survive.  However
    we want to ensure that if they do, we do not mistakenly update them to mtctr loops.

    Use CodeMetrics to ensure we are only doing this for small loops with small trip counts.

    Differential Revision: https://reviews.llvm.org/D38212 (detail/ViewSVN)
    by lei

Started by upstream project Clang Stage 1: cmake, RA, using system compiler build number 39519
originally caused by:

This run spent:

  • 12 min waiting in the queue;
  • 41 min building on an executor;
  • 53 min total from scheduled to completion.

Identified problems

Ninja target failed

Below is a link to the first failed ninja target.
Indication 1

Compile Error

This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 2

Assertion failure

This build failed because of an assertion failure. Below is a list of all errors in the build log:
Indication 3

Missing test results

The test result file Jenkins is looking for does not exist after the build.
Indication 4

Environment Variables(57)16 different
Slave Information(95)13 different
Project Information(14)0 different