[LLVMdev] Running the test suite with special opt flags
baldrick at free.fr
Wed Nov 2 01:22:42 PDT 2011
Hi Hal, I think the testsuite has support for "opt-beta" which means
running opt with special flags side by side with the usual opt.
TEST.nightly.Makefile turns this on with ENABLE_OPTBETA. I took a
peek at Makefile.programs to see how it is implemented, and as far
as I can see it can't possibly actually work :( So probably the
simplest thing is to run the testsuite once to get a baseline, then
hard-wire these options on in std-compile-opts and run the testsuite
> How can I setup the test suite to run with special opt flags?
> Specifically, I'd like to add -unroll-allow-partial -vectorize in order
> to test my autovectorizer, and then compare that to just having
> -unroll-allow-partial and also to just the regular -O3.
> Thanks in advance,
More information about the llvm-dev