[llvm-commits] dependence analysis
Hal Finkel
hfinkel at anl.gov
Fri Jul 27 22:39:33 PDT 2012
On Fri, 27 Jul 2012 17:31:44 -0700
Preston Briggs <preston.briggs at gmail.com> wrote:
> 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?
You could include the C loop in a comment block in the .ll file.
-Hal
>
> Is there a different test framework I should be using?
>
> Thanks,
> Preston
--
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory
More information about the llvm-commits
mailing list