[llvm-commits] dependence analysis

Preston Briggs preston.briggs at gmail.com
Fri Jul 27 17:31:44 PDT 2012


On Fri, Jul 27, 2012 at 5:06 PM, Evan Cheng <evan.cheng at apple.com> wrote:

>> I wrote a test driver that makes dependence queries along with 100+
>> tests that exercise most everything.
>> Again, I'm not sure how to organize all this into a format LLVM can use.
>
> Can they be made into unit tests? The first step is to send the 2 files for review.
> It would be worthwhile to include a few of these tests so folks can get a better
> idea what they look like and how the analysis can be used.
> But I don't expect anyone will look through all of them right away.

Looking the testing infrastructure document...
I was thinking in terms of regression tests.
So far, I've organized the tests into 14 C files,
translated the C files into 14 .ll files,
and created result files for each of the 14.

Seems odd to throw away the C source and keep only the .ll
How will people ever understand what's going on?

Is there a different test framework I should be using?

Thanks,
Preston



More information about the llvm-commits mailing list