[llvm-dev] Polly tests broken

Fangrui Song via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 7 11:54:46 PST 2020


On 2020-01-07, Alexandre Ganea via llvm-dev wrote:
>The polly bot is down for a while and it seems *all* polly tests are broken
>(tested on Windows with both MSVC & Clang 9), looks like LLVMPolly.dll doesn’t
>build anymore?
>
>Anybody else seeing this?
>
>Using the following cmake command:
>
> 
>
>cmake -GNinja %ROOT%/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_OPTIMIZED_TABLEGEN=
>true -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_LIBXML2=OFF -DCMAKE_C_COMPILER=
>"%VS2017%/bin/HostX64/x64/cl.EXE" -DCMAKE_CXX_COMPILER="%VS2017%/bin/HostX64/
>x64/cl.EXE" -DCMAKE_LINKER="%VS2017%/bin/HostX64/x64/link.EXE"
>-DLLVM_USE_CRT_RELEASE=MT -DLLVM_ENABLE_PROJECTS="llvm;clang;lld;
>clang-tools-extra;compiler-rt;mlir;polly"
>
> 
>
>The output I’m seeing with ninja check-all:
>
> 
>
>FAIL: Polly :: Simplify/scalability1.ll (56278 of 59460)
>
>******************** TEST 'Polly :: Simplify/scalability1.ll' FAILED
>********************
>
>Script:
>
>--
>
>: 'RUN: at line 1';   opt -load D:/llvm-project/buildninjaRelMSVC/lib/
>LLVMPolly.dll -load-pass-plugin D:/llvm-project/buildninjaRelMSVC/lib/
>LLVMPolly.dll -polly-process-unprofitable  -polly-remarks-minimal 
>-polly-use-llvm-names  -polly-import-jscop-dir=D:\llvm-project\polly\test\
>Simplify  -polly-codegen-verify  -polly-ignore-inbounds -polly-simplify
>-analyze < D:\llvm-project\polly\test\Simplify\scalability1.ll | FileCheck D:\
>llvm-project\polly\test\Simplify\scalability1.ll -match-full-lines
>
>--
>
>Exit Code: 2
>
> 
>
>Command Output (stdout):
>
>--
>
>$ ":" "RUN: at line 1"
>
>$ "opt" "-load" "D:/llvm-project/buildninjaRelMSVC/lib/LLVMPolly.dll"
>"-load-pass-plugin" "D:/llvm-project/buildninjaRelMSVC/lib/LLVMPolly.dll"
>"-polly-process-unprofitable" "-polly-remarks-minimal" "-polly-use-llvm-names"
>"-polly-import-jscop-dir=D:\llvm-project\polly\test\Simplify"
>"-polly-codegen-verify" "-polly-ignore-inbounds" "-polly-simplify" "-analyze"
>
># command stderr:
>
>Error opening 'D:/llvm-project/buildninjaRelMSVC/lib/LLVMPolly.dll': D:/
>llvm-project/buildninjaRelMSVC/lib/LLVMPolly.dll: Can't open: The specified
>module could not be found.  (0x7E)
>
>  -load request ignored.
>
>opt.exe: for the -o option: may not occur within a group!
>
>opt.exe: Unknown command line argument '-polly-process-unprofitable'.  Try:
>'opt.exe --help'
>
>opt.exe: Did you mean '-o'?
>
>opt.exe: for the -p option: may only occur zero or one times!
>
>opt.exe: for the -o option: may not occur within a group!
>
>opt.exe: Unknown command line argument '-polly-remarks-minimal'.  Try: 'opt.exe
>--help'
>
>opt.exe: Did you mean '-o'?
>
>opt.exe: for the -p option: may only occur zero or one times!
>
>opt.exe: for the -o option: may not occur within a group!
>
>opt.exe: Unknown command line argument '-polly-use-llvm-names'.  Try: 'opt.exe
>--help'
>
>opt.exe: Did you mean '-o'?
>
>opt.exe: for the -p option: may only occur zero or one times!
>
>opt.exe: for the -o option: may not occur within a group!
>
>opt.exe: Unknown command line argument '-polly-import-jscop-dir=D:\llvm-project
>\polly\test\Simplify'.  Try: 'opt.exe --help'
>
>opt.exe: Did you mean '-o'?
>
>opt.exe: for the -p option: may only occur zero or one times!
>
>opt.exe: for the -o option: may not occur within a group!
>
>opt.exe: Unknown command line argument '-polly-codegen-verify'.  Try: 'opt.exe
>--help'
>
>opt.exe: Did you mean '-o'?
>
>opt.exe: for the -p option: may only occur zero or one times!
>
>opt.exe: for the -o option: may not occur within a group!
>
>opt.exe: Unknown command line argument '-polly-ignore-inbounds'.  Try: 'opt.exe
>--help'
>
>opt.exe: Did you mean '-o'?
>
>opt.exe: for the -p option: may only occur zero or one times!
>
>opt.exe: for the -o option: may not occur within a group!
>
>opt.exe: Unknown command line argument '-polly-simplify'.  Try: 'opt.exe
>--help'
>
>opt.exe: Did you mean '-o'?
>
> 
>
>error: command failed with exit status: 1
>
>$ "FileCheck" "D:\llvm-project\polly\test\Simplify\scalability1.ll"
>"-match-full-lines"
>
># command stderr:
>
>FileCheck error: '-' is empty.
>
>FileCheck command line:  filecheck.exe D:\llvm-project\polly\test\Simplify\
>scalability1.ll -match-full-lines
>
> 
>
>error: command failed with exit status: 2

May be related to
https://reviews.llvm.org/rG24ab9b537e61b3fe5e6a1019492ff6530d82a3ee
(commited on 2020-01-02)

Someone with a Windows machine should take a look.


More information about the llvm-dev mailing list