mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-15 03:40:31 +00:00
add back the tests removed by the merge
This commit is contained in:
parent
a31148c013
commit
34882aee5f
12
debian/qualify-clang.sh
vendored
12
debian/qualify-clang.sh
vendored
@ -1205,10 +1205,18 @@ int main()
|
||||
}
|
||||
" > foo.c
|
||||
clang-$VERSION -O3 -mllvm -polly -mllvm -polly-parallel -lgomp foo.c
|
||||
# Comment because of https://bugs.llvm.org/show_bug.cgi?id=43164
|
||||
#clang-$VERSION -O3 -mllvm -polly -mllvm -lgomp -polly-parallel foo.c
|
||||
clang-$VERSION -O3 -mllvm -polly -mllvm -polly-vectorizer=stripmine foo.c
|
||||
clang-$VERSION -S -fsave-optimization-record -emit-llvm foo.c -o matmul.s
|
||||
# broken https://bugs.llvm.org/show_bug.cgi?id=51642
|
||||
test -s matmul.opt.yaml||true
|
||||
|
||||
clang-$VERSION -S -O2 -fsave-optimization-record -emit-llvm foo.c -o matmul.s
|
||||
if ! test -s matmul.opt.yaml; then
|
||||
echo "-fsave-optimization-record generated an empty file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
opt-$VERSION -S -polly-canonicalize matmul.s > matmul.preopt.ll > /dev/null
|
||||
opt-$VERSION -basic-aa -polly-ast -analyze matmul.preopt.ll -polly-process-unprofitable > /dev/null
|
||||
if test ! -f /usr/lib/llvm-$VERSION/share/opt-viewer/opt-viewer.py; then
|
||||
|
Loading…
Reference in New Issue
Block a user