mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-27 12:26:41 +00:00
bring back some polly test
This commit is contained in:
parent
636c28e406
commit
a5811db303
28
debian/qualify-clang.sh
vendored
28
debian/qualify-clang.sh
vendored
@ -1011,23 +1011,23 @@ int main()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
" > foo.c
|
" > foo.c
|
||||||
#clang-$VERSION -O3 -mllvm -polly -mllvm -polly-parallel -lgomp 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
|
# 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 -lgomp -polly-parallel foo.c
|
||||||
#clang-$VERSION -O3 -mllvm -polly -mllvm -polly-vectorizer=stripmine 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
|
clang-$VERSION -S -fsave-optimization-record -emit-llvm foo.c -o matmul.s
|
||||||
#opt-$VERSION -S -polly-canonicalize matmul.s > matmul.preopt.ll > /dev/null
|
opt-$VERSION -S -polly-canonicalize matmul.s > matmul.preopt.ll > /dev/null
|
||||||
#opt-$VERSION -basicaa -polly-ast -analyze -q matmul.preopt.ll -polly-process-unprofitable > /dev/null
|
opt-$VERSION -basicaa -polly-ast -analyze -q matmul.preopt.ll -polly-process-unprofitable > /dev/null
|
||||||
#if test ! -f /usr/lib/llvm-$VERSION/share/opt-viewer/opt-viewer.py; then
|
if test ! -f /usr/lib/llvm-$VERSION/share/opt-viewer/opt-viewer.py; then
|
||||||
# echo "Install llvm-$VERSION-tools"
|
echo "Install llvm-$VERSION-tools"
|
||||||
# exit 42
|
exit 42
|
||||||
#fi
|
fi
|
||||||
#/usr/lib/llvm-$VERSION/share/opt-viewer/opt-viewer.py -source-dir . matmul.opt.yaml -o ./output > /dev/null
|
/usr/lib/llvm-$VERSION/share/opt-viewer/opt-viewer.py -source-dir . matmul.opt.yaml -o ./output > /dev/null
|
||||||
|
|
||||||
#if ! grep -q "not inlined into" output/foo.c.html 2>&1; then
|
if ! grep -q "not inlined into" output/foo.c.html 2>&1; then
|
||||||
# echo "Could not find the output from polly"
|
echo "Could not find the output from polly"
|
||||||
# exit -1
|
exit -1
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
int foo(int x, int y) __attribute__((always_inline));
|
int foo(int x, int y) __attribute__((always_inline));
|
||||||
|
Loading…
Reference in New Issue
Block a user