[polly] Introduce -polly-print-* passes to replace -analyze.The `opt -analyze` option only works with the legacy pass manager and might be removed in the future, as explained in llvm.org/PR53733. T
[polly] Introduce -polly-print-* passes to replace -analyze.The `opt -analyze` option only works with the legacy pass manager and might be removed in the future, as explained in llvm.org/PR53733. This patch introduced -polly-print-* passes that print what the pass would print with the `-analyze` option and replaces all uses of `-analyze` in the regression tests.There are two exceptions: `CodeGen\single_loop_param_less_equal.ll` and `CodeGen\loop_with_condition_nested.ll` use `-analyze on the `-loops` pass which is not part of Polly.Reviewed By: aeubanksDifferential Revision: https://reviews.llvm.org/D120782
show more ...
[Polly] Dissolve Isl test directory. NFC.All tests use ISL, integrate its subfolder into the components theybelong to.
execute cloog specific testcases only with CLOOG_FOUNDllvm-svn: 169159
Tests: Pipe test files into 'opt'Use 'opt < %s' instead of just 'opt %s' to ensure that no temporary files arecreated.llvm-svn: 167372
Tests: remove ModuleID linesllvm-svn: 167284
Tests: move content of .c files in .llllvm-svn: 167283
CodeGen: Recreate old ivs with the original typeTo avoid overflows we still use a larger type (i64) while calculating the valueof the old ivs. However, we truncate the result to the type of the o
CodeGen: Recreate old ivs with the original typeTo avoid overflows we still use a larger type (i64) while calculating the valueof the old ivs. However, we truncate the result to the type of the old iv whenproviding it to the new code.A corresponding test case is added to the polly test suite. Also, a failing testcase is fixed.This fixes PR12311.Contributed by: Tsingray Liu <[email protected]>llvm-svn: 153952
test: Remove memaccess prefixThe prefix is not needed, as all test cases are already in a separate folder.llvm-svn: 153320
CodeGen: Full support for isl_pw expressions in modified access functions.This also adds support for modifiable write accesses (until now only readaccesses where supported). We currently do not de
CodeGen: Full support for isl_pw expressions in modified access functions.This also adds support for modifiable write accesses (until now only readaccesses where supported). We currently do not derive an exact type for theexpression, but assume that i64 is good enough. This will be improved in futurepatches.Contributed by: Yabin Hu <[email protected]>llvm-svn: 153319
tests: Replace . by %sllvm-svn: 150377
Memaccess: Code generation for constant access function changeSupport for generating code for an access function change which isa constant is added. llvm-svn: 137603
Memaccess: Codegeneration for a simple access function changeCode is generated for a simple access function change importedfrom JSCOP file. An access of A[i] is changed to A[0]. The codefor A[0]
Memaccess: Codegeneration for a simple access function changeCode is generated for a simple access function change importedfrom JSCOP file. An access of A[i] is changed to A[0]. The codefor A[0] is generated directly without refering to isl function calls.llvm-svn: 136789
Memaccess: Display Changed Access RelationThe changed access relations imported from JSCOP file is shownas output of -analyze pass.llvm-svn: 136774
MemAccess: Reading Change in Access FunctionThis patch reads the change in access functions fromimported JSCOP file. A test case is also added.llvm-svn: 134991