Sebastian Pop
2012-Nov-28 17:01 UTC
[LLVMdev] [polly] removing cloog dependence in the testsuite
Hi Tobi, Sebastian Pop wrote:> Sebastian Pop wrote: > > Another option is to disable these tests when cloog is not available, and to > > write other tests that will work with -polly-codegen-isl. > > I think I like this way better. The attached patches move all the test > dependent on Cloog to be conditionally executed to CLOOG_FOUND. I am preparing > another patch that will adapt most of the current tests to work with ISL's code > generator.See attached the patch that adds to the Isl/CodeGen all the tests that can be run also with the ISL code generator (the vectorizer tests cannot yet be executed with the ISL code generator yet: when we enabling the vectorizer with the ISL codegen we will add them). All these tests are exact copy of the Cloog/CodeGen tests adapted to match the output of ISL. With the 3 patches make polly-test is passing with both configurations enabling either the cloog codegen and the isl codegen. Is it ok to commit all these three patches? Thanks, Sebastian -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-adapt-cloog-codegen-testcases-to-isl.patch Type: text/x-diff Size: 113483 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121128/17fd6b8f/attachment.patch>
Tobias Grosser
2012-Dec-02 00:29 UTC
[LLVMdev] [polly] removing cloog dependence in the testsuite
On Wed, Nov 28, 2012, at 06:01 PM, Sebastian Pop wrote:> Hi Tobi, > > Sebastian Pop wrote: > > Sebastian Pop wrote: > > > Another option is to disable these tests when cloog is not available, and to > > > write other tests that will work with -polly-codegen-isl. > > > > I think I like this way better. The attached patches move all the test > > dependent on Cloog to be conditionally executed to CLOOG_FOUND. I am preparing > > another patch that will adapt most of the current tests to work with ISL's code > > generator. > > See attached the patch that adds to the Isl/CodeGen all the tests that > can be > run also with the ISL code generator (the vectorizer tests cannot yet be > executed with the ISL code generator yet: when we enabling the vectorizer > with > the ISL codegen we will add them). All these tests are exact copy of the > Cloog/CodeGen tests adapted to match the output of ISL. > > With the 3 patches make polly-test is passing with both configurations > enabling > either the cloog codegen and the isl codegen.Very nice. Thanks for the work!> Is it ok to commit all these three patches?Patch two is fine. Regarding patch one and three: We already have the directory test/CodeGen and test/IslCodeGen. I propose to just leave the CLooG test cases in test/CodeGen, but to run them conditionally. You can add the new isl test cases to test/IslCodeGen. If you agree, such changes are preapproved here. Tobi
Sebastian Pop
2012-Dec-03 17:07 UTC
[LLVMdev] [polly] removing cloog dependence in the testsuite
Tobias Grosser wrote:> Regarding patch one and three: We already have the directory > test/CodeGen and test/IslCodeGen. I propose to just leave the CLooG test > cases in test/CodeGen, but to run them conditionally.I only know how to disable the test of a full directory, so if you want I can disable all the CodeGen directory (and subdirectories) when Cloog is not available. Note that in my first patch I have moved only those tests not working without cloog, and there are several testcases left in CodeGen that can still be executed with ISL's codegen.> You can add the new isl test cases to test/IslCodeGen. >That's what patch 3 does, except for a minor rename to avoid a redundant CodeGen in the dir names. Sebastian -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Reasonably Related Threads
- [LLVMdev] [polly] removing cloog dependence in the testsuite
- [LLVMdev] [polly] removing cloog dependence in the testsuite
- [LLVMdev] [polly] removing cloog dependence in the testsuite
- [LLVMdev] [polly] removing cloog dependence in the testsuite
- [LLVMdev] [polly] removing cloog dependence in the testsuite