<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Four Transforms/FunctionAttrs tests failing on trunk"
   href="https://bugs.llvm.org/show_bug.cgi?id=43082">43082</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Four Transforms/FunctionAttrs tests failing on trunk
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Transformation Utilities
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nicolasweber@gmx.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>At r369592:

<a href="https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8904469651521612224/+/steps/package_clang/0/stdout">https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8904469651521612224/+/steps/package_clang/0/stdout</a>


Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/FunctionAttrs/align.ll (26315 of 33138)
******************** TEST 'LLVM :: Transforms/FunctionAttrs/align.ll' FAILED
********************
Script:
--
: 'RUN: at line 1';  
/b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/opt -attributor
-attributor-disable=false -attributor-max-iterations=17 -S <
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/align.ll
| /b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/FileCheck
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/align.ll
--check-prefix=ATTRIBUTOR
--
Exit Code: 1

Command Output (stderr):
--
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/align.ll:163:15:
error: ATTRIBUTOR: expected string not found in input
; ATTRIBUTOR: define internal void @test8(i32* align 4 %a, i32* align 4 %b,
i32* %c)
              ^
<stdin>:121:2: note: scanning from here
 ret void
 ^
<stdin>:124:1: note: possible intended match here
define internal void @test8(i32* %a, i32* %b, i32* %c) {
^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/FunctionAttrs/noreturn_sync.ll (26337 of 33138)
******************** TEST 'LLVM :: Transforms/FunctionAttrs/noreturn_sync.ll'
FAILED ********************
Script:
--
: 'RUN: at line 1';  
/b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/opt -functionattrs
-attributor -attributor-disable=false -attributor-max-iterations=7 -S <
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/noreturn_sync.ll
| /b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/FileCheck
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/noreturn_sync.ll
--
Exit Code: 1

Command Output (stderr):
--
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/noreturn_sync.ll:106:15:
error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: unreachable
              ^
<stdin>:83:14: note: scanning from here
invoke.cont: ; preds = %entry
             ^
<stdin>:87:27: note: possible intended match here
 %0 = catchswitch within none [label %__except] unwind to caller
                          ^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/FunctionAttrs/nonnull.ll (26343 of 33138)
******************** TEST 'LLVM :: Transforms/FunctionAttrs/nonnull.ll' FAILED
********************
Script:
--
: 'RUN: at line 1';  
/b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/opt -S
-functionattrs -enable-nonnull-arg-prop
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/nonnull.ll
| /b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/FileCheck
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/nonnull.ll
--check-prefixes=BOTH,FNATTR
: 'RUN: at line 2';  
/b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/opt -S
-passes=function-attrs -enable-nonnull-arg-prop
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/nonnull.ll
| /b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/FileCheck
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/nonnull.ll
--check-prefixes=BOTH,FNATTR
: 'RUN: at line 3';  
/b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/opt -attributor
--attributor-disable=false -attributor-max-iterations=12 -S <
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/nonnull.ll
| /b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/FileCheck
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/nonnull.ll
--check-prefixes=BOTH,ATTRIBUTOR
--
Exit Code: 1

Command Output (stderr):
--
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/nonnull.ll:162:15:
error: ATTRIBUTOR: expected string not found in input
; ATTRIBUTOR: define internal void @test13(i8* nonnull %a, i8* %b, i8* %c) 
              ^
<stdin>:129:2: note: scanning from here
 ret void
 ^
<stdin>:142:1: note: possible intended match here
define internal void @test13(i8* %a, i8* %b, i8* %c) {
^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
(26347 of 33138)
******************** TEST 'LLVM ::
Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll' FAILED
********************
Script:
--
: 'RUN: at line 1';  
/b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/opt -functionattrs
-enable-nonnull-arg-prop -attributor -attributor-disable=false
-attributor-max-iterations=29 -S <
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
| /b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/FileCheck
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
--
Exit Code: 1

Command Output (stderr):
--
/b/s/w/ir/cache/builder/src/third_party/llvm/llvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll:32:10:
error: CHECK: expected string not found in input
; CHECK: Function Attrs: nofree nosync nounwind
         ^
<stdin>:1:1: note: scanning from here
; ModuleID = '<stdin>'
^
<stdin>:5:3: note: possible intended match here
; Function Attrs: nofree nounwind
  ^

--


Failing Tests (4):
    LLVM :: Transforms/FunctionAttrs/align.ll
    LLVM :: Transforms/FunctionAttrs/nonnull.ll
    LLVM :: Transforms/FunctionAttrs/noreturn_sync.ll
    LLVM :: Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll






Building with this cmake invocation on linux:

Running cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=OFF
'-DLLVM_ENABLE_PROJECTS=clang;compiler-rt;lld;chrometools'
'-DLLVM_TARGETS_TO_BUILD=AArch64;ARM;Mips;PowerPC;SystemZ;WebAssembly;X86'
-DLLVM_ENABLE_PIC=OFF -DLLVM_ENABLE_UNWIND_TABLES=OFF
-DLLVM_ENABLE_TERMINFO=OFF -DCLANG_PLUGIN_SUPPORT=OFF
-DCLANG_ENABLE_STATIC_ANALYZER=OFF -DCLANG_ENABLE_ARCMT=OFF
'-DBUG_REPORT_URL=<a href="https://crbug.com">https://crbug.com</a> and run
tools/clang/scripts/process_crashreports.py (only works inside Google) which
will upload a report' -DCOMPILER_RT_USE_LIBCXX=NO -DLLVM_INCLUDE_GO_TESTS=OFF
-DCOMPILER_RT_TEST_COMPILER_CFLAGS=--gcc-toolchain=
-DLLVM_ENABLE_LIBXML2=FORCE_ON -DLLVM_TARGETS_TO_BUILD=X86
'-DLLVM_ENABLE_PROJECTS=clang;compiler-rt;lld'
-DCMAKE_INSTALL_PREFIX=/b/swarming/w/ir/cache/builder/src/third_party/llvm-bootstrap-install
-DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= -DLLVM_ENABLE_ASSERTIONS=ON
-DCOMPILER_RT_BUILD_BUILTINS=OFF -DCOMPILER_RT_BUILD_CRT=OFF
-DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=ON
-DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF
-DCMAKE_C_COMPILER=/b/swarming/w/ir/cache/builder/src/third_party/llvm-build-tools/gcc510trusty/bin/gcc
-DCMAKE_CXX_COMPILER=/b/swarming/w/ir/cache/builder/src/third_party/llvm-build-tools/gcc510trusty/bin/g++
/b/swarming/w/ir/cache/builder/src/third_party/llvm/llvm


And this one on macOS:

Running cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=OFF
'-DLLVM_ENABLE_PROJECTS=clang;compiler-rt;lld;chrometools;libcxx'
'-DLLVM_TARGETS_TO_BUILD=AArch64;ARM;Mips;PowerPC;SystemZ;WebAssembly;X86'
-DLLVM_ENABLE_PIC=OFF -DLLVM_ENABLE_UNWIND_TABLES=OFF
-DLLVM_ENABLE_TERMINFO=OFF -DCLANG_PLUGIN_SUPPORT=OFF
-DCLANG_ENABLE_STATIC_ANALYZER=OFF -DCLANG_ENABLE_ARCMT=OFF
'-DBUG_REPORT_URL=<a href="https://crbug.com">https://crbug.com</a> and run
tools/clang/scripts/process_crashreports.py (only works inside Google) which
will upload a report' -DCOMPILER_RT_USE_LIBCXX=NO -DLLVM_INCLUDE_GO_TESTS=OFF
-DLIBCXX_CXX_ABI=libcxxabi -DLIBCXX_CXX_ABI_SYSTEM=1
-DLLVM_ENABLE_LIBXML2=FORCE_ON '-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64'
'-DLLVM_ENABLE_PROJECTS=clang;compiler-rt;libcxx;compiler-rt'
-DCMAKE_INSTALL_PREFIX=/b/s/w/ir/cache/builder/src/third_party/llvm-bootstrap-install
-DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= -DLLVM_ENABLE_ASSERTIONS=ON
-DDARWIN_osx_ARCHS=x86_64 -DCOMPILER_RT_BUILD_BUILTINS=ON
-DCOMPILER_RT_BUILD_CRT=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
-DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF
-DCOMPILER_RT_ENABLE_IOS=OFF -DCOMPILER_RT_ENABLE_WATCHOS=OFF
-DCOMPILER_RT_ENABLE_TVOS=OFF /b/s/w/ir/cache/builder/src/third_party/llvm/llvm


Also fails on Windows.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>