[llvm-bugs] [Bug 43082] New: Four Transforms/FunctionAttrs tests failing on trunk
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 21 19:03:00 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43082
Bug ID: 43082
Summary: Four Transforms/FunctionAttrs tests failing on trunk
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Transformation Utilities
Assignee: unassignedbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: llvm-bugs at lists.llvm.org
At r369592:
https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8904469651521612224/+/steps/package_clang/0/stdout
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=https://crbug.com 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=https://crbug.com 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190822/2a4346ef/attachment-0001.html>
More information about the llvm-bugs
mailing list