[LLVMdev] Polly test and example

MORIYAMA Tomohiro moriyama at isit.or.jp
Thu Jun 9 20:00:54 PDT 2011


H, Tobias
Thank you for your reply.


Tobias Grosser wrote:
(Thu, 09 Jun 2011 15:41:05 -0300)
>On 06/08/2011 01:17 AM, MORIYAMA Tomohiro wrote:
>> Hi, all
>>
>> I tried Polly installation on Ubuntu.
>>
>> On its building, it returned no errors.
>> But when I run "make polly-test", it returns 11 unexpected failures as
>> follows.
>> -----------------------------------
>> ********************
>> Testing Time: 19.77s
>> ********************
>> Failing Tests (11):
>>      Polly :: CodeGen/do_pluto_matmult.ll
>>      Polly :: CodeGen/loop_with_condition.ll
>>      Polly :: CodeGen/loop_with_condition_2.ll
>>      Polly :: CodeGen/loop_with_condition_ineq.ll
>>      Polly :: CodeGen/loop_with_condition_nested.ll
>>      Polly :: CodeGen/reduction_2.ll
>>      Polly :: CodeGen/sequential_loops.ll
>>      Polly :: CodeGen/single_do_loop_int_max_iterations.ll
>>      Polly :: CodeGen/single_do_loop_scev_replace.ll
>>      Polly :: CodeGen/single_loop.ll
>>      Polly :: CodeGen/single_loop_param.ll
>
>Interesting. On what kind of Platform are you running this? Is it still 
>Ubuntu 11.04? I assume it's an intel platform, but is it a 32-bit or 64bit?

It is a little bit complicated.

Intel Core i5 M520.
Ubuntu 11.04-i386 using VMWare Player on Windows 7 Professional(64bit).


>
>The test cases that are failing are the ones that use 'lli' to execute 
>the generated program. There seems to be something wrong in respect to 
>lli. Can you run e.g. single_loop.ll with llvm-lit (-v) and show the 
>error message.

OK. This is the message.

--------
tomohiro at ubuntu:~/llvm/tools/polly/test/CodeGen$ llvm-lit -v single_loop.ll 
llvm-lit: lit.cfg:94: note: using out-of-tree build at '/home/tomohiro/build/
tools/polly'
-- Testing: 1 tests, 2 threads --
FAIL: Polly :: CodeGen/single_loop.ll (1 of 1)
******************** TEST 'Polly :: CodeGen/single_loop.ll' FAILED *************
*******
Script:
--
opt -load /home/tomohiro/build/lib/LLVMPolly.so   -basicaa -polly-prepare -polly
-region-simplify -scev-aa  -polly-cloog -analyze < /home/tomohiro/llvm/tools/
polly/test/CodeGen/single_loop.ll | FileCheck /home/tomohiro/llvm/tools/polly/
test/CodeGen/single_loop.ll
opt -load /home/tomohiro/build/lib/LLVMPolly.so   -basicaa -polly-prepare -polly
-region-simplify -scev-aa  -polly-codegen < /home/tomohiro/llvm/tools/polly/test
/CodeGen/single_loop.ll | lli -
--
Exit Code: 139
Command Output (stderr):
--
Stack dump:
0.	Program arguments: lli - 
/home/tomohiro/build/tools/polly/test/CodeGen/Output/single_loop.ll.script: line 
2:  3250 Done                    opt -load /home/tomohiro/build/lib/LLVMPolly.so 
-basicaa -polly-prepare -polly-region-simplify -scev-aa -polly-codegen < /home/
tomohiro/llvm/tools/polly/test/CodeGen/single_loop.ll
      3251 Segmentation fault      | lli -
--

********************
Testing Time: 0.11s
********************
Failing Tests (1):
    Polly :: CodeGen/single_loop.ll

  Unexpected Failures: 1
--------


>> And another question, I want to try "examples".
>> http://polly.grosser.es/examples.html
>>
>> But I can't get its source files by 403.
>> http://polly.grosser.es/experiments/matmul/
>
>Ups. I forgot to update this. It should now work.
>
>Tobi


Thanks.

----
Tomohiro
moriyama at isit.or.jp



More information about the llvm-dev mailing list