[llvm-commits] Patch for review: Speeding up ScheduleDAG computations

Evan Cheng evan.cheng at apple.com
Wed Mar 5 09:30:37 PST 2008


On Mar 5, 2008, at 9:16 AM, Roman Levenstein wrote:

> 2008/3/5, Dan Gohman <gohman at apple.com>:
>> On Mar 4, 2008, at 3:56 AM, Roman Levenstein wrote:
>>>
>>
>>> make[5]: Entering directory
>>> `/opt/llvm.build/projects/llvm-test/SingleSource/UnitTests/Vector/ 
>>> SSE'
>>> make[5]: *** No rule to make target `Output/ 
>>> sse.expandfft.linked.rbc',
>>> needed by `Output/sse.expandfft.linked.bc'.  Stop.
>>
>>
>> When I've seen this error, the problem has been that my base llvm
>> build configure was run without an llvm-gcc in PATH.  llvm-test
>> apparently relies on the base llvm build to locate llvm-gcc for it.
>
> Thanks! Now I checked again and it seems to work.
>
> So, I have other questions about testing (I guess some of them are
> asked quite often ;-):
>
> 1) I do run llvm/test tests. At the end I get some figures about the
> number of PASSED and UNEXPECTEDLY FAILED tests. This is fine. But is
> it guaranteed that UNEXPECTEDLY FAILED are introduced by my code or is
> it possible that due to some recent changes to the repository some of
> those tests just fail? If it is due to the changes in the repository,
> how do I know what are the figures without my changes, so that I can
> compare and see new failures introduced by my code? Are those numbers
> published anywhere, may be in the nightly tests results??? Or should I
> basically have to source trees: one for repository version and one for
> my local modifications and then run tests under both trees?

There are lots of nightly testers and they include dejagnu tests. I  
maintain all the Grawp* and OldGrawp* testers. These are x86 Mac OS X  
testers. There are also x86 linux testers.
http://www.llvm.org/nightlytest/

>
>
> 2) If I run the llvm-test tests, how do I produce reports? How do I
> know that something failed?

make TEST=nightly report
It will produce a report at the end that's self-explanatory.

>
>
> 3) How can I run only a selected subset of the tests from llvm-test?
>    In particular, I only change LLC mostly. Do I have to run the
> llvm-test every time, or can I reduce it to something smaller?

Ideally you run everything everytime. But you should run at least  
SingleSource and MultiSource.

>
>
> Basically, I have my ScheduleDAG patches ready, All of the proposals
> from the review by you and Evan are implemented. But I don't know how
> to test them properly using llvm tests and how can I understand if
> something is broken by them....
>
> I attach both patches for now, so that someone else can test them as
> well, while I'm trying to figure out how to do it on my machine.

Ok. Thanks.

Evan

>
>
> -Roman
> < 
> ScheduleDAGRRList 
> .patch 
> > 
> <ScheduleDAGList.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list