[polly] r302722 - [Fix][Fortran Support] Don't use -debug-only in pattern matching test cases

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 13:35:11 PDT 2017


Could you also all the other flags that are not necessary for this
test case? Also, add %loadPolly such that it also works with
LLVM_POLLY_LINK_INTO_TOOLS=OFF.

That is, this should be sufficient:

; RUN: opt %loadPolly -polly-detect-fortran-arrays -polly-scops
-analyze < %s| FileCheck %s

Thanks,
Michael



2017-05-10 22:10 GMT+02:00 Siddharth Bhat via llvm-commits
<llvm-commits at lists.llvm.org>:
> Author: bollu
> Date: Wed May 10 15:10:17 2017
> New Revision: 302722
>
> URL: http://llvm.org/viewvc/llvm-project?rev=302722&view=rev
> Log:
> [Fix][Fortran Support] Don't use -debug-only in pattern matching test cases
>
> -debug-only is unnecessary and causes the tests to break in Release
> mode. Remove the option to opt in the test cases.
>
> Modified:
>     polly/trunk/test/FortranDetection/global-malloc-nonvectored.ll
>     polly/trunk/test/FortranDetection/global-nonmalloc-nonvectored.ll
>
> Modified: polly/trunk/test/FortranDetection/global-malloc-nonvectored.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/FortranDetection/global-malloc-nonvectored.ll?rev=302722&r1=302721&r2=302722&view=diff
> ==============================================================================
> --- polly/trunk/test/FortranDetection/global-malloc-nonvectored.ll (original)
> +++ polly/trunk/test/FortranDetection/global-malloc-nonvectored.ll Wed May 10 15:10:17 2017
> @@ -1,6 +1,6 @@
>  ; RUN: opt -S -polly-detect-fortran-arrays -analyze -polly-process-unprofitable \
>  ; RUN: -polly-remarks-minimal -polly-canonicalize -polly-scops \
> -; RUN: -polly-dependences -debug-only=polly-dependence -polly-canonicalize \
> +; RUN: -polly-dependences -polly-canonicalize \
>  ; RUN: -polly-allow-nonaffine -polly-ignore-aliasing \
>  ; RUN: -polly-invariant-load-hoisting < %s| FileCheck %s
>  ;
>
> Modified: polly/trunk/test/FortranDetection/global-nonmalloc-nonvectored.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/FortranDetection/global-nonmalloc-nonvectored.ll?rev=302722&r1=302721&r2=302722&view=diff
> ==============================================================================
> --- polly/trunk/test/FortranDetection/global-nonmalloc-nonvectored.ll (original)
> +++ polly/trunk/test/FortranDetection/global-nonmalloc-nonvectored.ll Wed May 10 15:10:17 2017
> @@ -1,6 +1,6 @@
>  ; RUN: opt -S -polly-detect-fortran-arrays -analyze -polly-process-unprofitable \
>  ; RUN: -polly-remarks-minimal -polly-canonicalize -polly-scops \
> -; RUN: -polly-dependences -debug-only=polly-dependence -polly-canonicalize \
> +; RUN: -polly-dependences -polly-canonicalize \
>  ; RUN: -polly-allow-nonaffine -polly-ignore-aliasing \
>  ; RUN: -polly-invariant-load-hoisting < %s| FileCheck %s
>  ;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list