<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Another non-deterministic failure:<div class=""><br class=""></div><div class=""><a href="http://lab.llvm.org:8011/builders/reverse-iteration/builds/13895/steps/check_all/logs/stdio" class="">http://lab.llvm.org:8011/builders/reverse-iteration/builds/13895/steps/check_all/logs/stdio</a><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 15, 2019, at 10:15, Florian Hahn <florian_hahn@apple.com> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi, <div class=""><br class=""></div><div class="">Is it possible that this change causes some of there Reduce tests to fail non-deterministically? 2 out of the 3 latest builds of clang-ppc64be-linux-lnt failed different test cases from Reduce without any changes to Reduce. The links to the builds are</div><div class=""><br class=""></div><div class=""><a href="http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/29966" class="">http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/29966</a> remove-funcs.ll failed</div><div class=""><a href="http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/29965" class="">http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/29965</a> all passed</div><div class=""><a href="http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/29964" class="">http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/29964</a> remove-global-vars.ll failed</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">The failures were</div><div class=""><pre style="font-family: "Courier New", courier, monotype, monospace;" class=""><span class="stdout">******************** TEST 'LLVM :: Reduce/remove-funcs.ll' FAILED ********************
Script:
--
: 'RUN: at line 4';   llvm-reduce --test /home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/Reduce/Inputs/remove-funcs.py /home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/Reduce/remove-funcs.ll
: 'RUN: at line 5';   cat reduced.ll | /home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/stage1/bin/FileCheck /home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/Reduce/remove-funcs.ll
--
Exit Code: 1

Command Output (stdout):
--
Reducing functions...
*** Reducing Functions...
----------------------------
Function Index Reference:
        1: uninteresting1
        2: interesting
        3: uninteresting2
        4: uninteresting3
----------------------------
Increasing granularity...Success! New Chunks:
        [1,2]
        [3,4]
Testing with: [1,2] | tmp-f36.ll **** SUCCESS | lines: 14
Increasing granularity...Success! New Chunks:
        [1]
        [2]
Testing with: [1] | tmp-535.ll
Testing with: [2] | tmp-1b6.ll **** SUCCESS | lines: 8
Increasing granularity...Couldn't increase anymore.
----------------------------
Reducing GVs...
*** Reducing GVs...
----------------------------
GlobalVariable Index Reference:
----------------------------

Nothing to reduce

Done reducing! Reduced IR to file: reduced.ll

--
Command Output (stderr):
--
/home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/Reduce/remove-funcs.ll:14:10: error: CHECK: expected string not found in input
; CHECK: interesting()
         ^
<stdin>:1:1: note: scanning from here
; ModuleID = '/home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/Reduce/remove-global-vars.ll'
^
<stdin>:4:2: note: possible intended match here
@interesting = global i32 0, align 4
 ^

--

********************</span></pre><div class=""><br class=""></div></div><div class=""><br class=""></div><div class=""><pre style="font-family: "Courier New", courier, monotype, monospace;" class=""><span class="stdout">******************** TEST 'LLVM :: Reduce/remove-global-vars.ll' FAILED ********************
Script:
--
: 'RUN: at line 4';   llvm-reduce --test /home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/Reduce/Inputs/remove-global-vars.py /home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/Reduce/remove-global-vars.ll
: 'RUN: at line 5';   cat reduced.ll | /home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/stage1/bin/FileCheck /home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/Reduce/remove-global-vars.ll
--
Exit Code: 1

Command Output (stdout):
--
Reducing functions...
*** Reducing Functions...
----------------------------
Function Index Reference:
        1: main
----------------------------
Increasing granularity...
Already at minimum size. Cannot reduce anymore.
----------------------------
Reducing GVs...
*** Reducing GVs...
----------------------------
GlobalVariable Index Reference:
        1: interesting
        2: uninteresting
----------------------------
Increasing granularity...Success! New Chunks:
        [1]
        [2]
Testing with: [1] | tmp-7bc.ll **** SUCCESS | lines: 13
Increasing granularity...Couldn't increase anymore.

Done reducing! Reduced IR to file: reduced.ll

--
Command Output (stderr):
--
/home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/Reduce/remove-global-vars.ll:8:10: error: CHECK: expected string not found in input
; CHECK: @interesting = global
         ^
<stdin>:1:1: note: scanning from here
; ModuleID = '/home/buildbots/ppc64be-clang-lnt-test/clang-ppc64be-lnt/llvm/test/Reduce/remove-funcs.ll'
^
<stdin>:4:12: note: possible intended match here
define i32 @interesting() {
           ^

--

********************</span></pre><div class=""><br class=""></div></div><div class="">Cheers,</div><div class="">Florian</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Ps: I could not find the commit email on llvm-commits, just the Phabricator ones.</div><span class=""><br class=""></span><span class=""><br class=""></span><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Aug 14, 2019, at 22:01, Phabricator via Phabricator <<a href="mailto:reviews@reviews.llvm.org" class="">reviews@reviews.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">This revision was automatically updated to reflect the committed changes.<br class="">Closed by commit rGd1ffcd07456b: [Bugpoint redesign] Added Pass to Remove Global Variables (authored by Diego Trevino Ferrer &lt;<a href="mailto:diegof30@gmail.com" class="">diegof30@gmail.com</a>&gt;).<br class=""><br class="">Repository:<br class="">  rG LLVM Github Monorepo<br class=""><br class="">CHANGES SINCE LAST ACTION<br class="">  <a href="https://reviews.llvm.org/D64176/new/" class="">https://reviews.llvm.org/D64176/new/</a><br class=""><br class=""><a href="https://reviews.llvm.org/D64176" class="">https://reviews.llvm.org/D64176</a><br class=""><br class="">Files:<br class="">  llvm/test/Reduce/Inputs/remove-global-vars.py<br class="">  llvm/test/Reduce/remove-funcs.ll<br class="">  llvm/test/Reduce/remove-global-vars.ll<br class="">  llvm/tools/llvm-reduce/CMakeLists.txt<br class="">  llvm/tools/llvm-reduce/DeltaManager.h<br class="">  llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp<br class="">  llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.h<br class=""><br class=""><span id="cid:03132E39-EB35-427A-9F1C-F876EB0E579E@apple.com" class=""><D64176.215240.patch></span></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>