[llvm-dev] [Openmp-dev] [cfe-dev] RFC: End-to-end testing

David Greene via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 16 13:00:25 PDT 2019


Renato Golin via Openmp-dev <openmp-dev at lists.llvm.org> writes:

> We already have tests in clang that check for diagnostics, IR and
> other things. Expanding those can handle 99.9% of what Clang could
> possibly do without descending into assembly.

I agree that for a great many things this is sufficient.

> Assembly errors are more complicated than just "not generating VADD",
> and that's easier done in the TS than LIT.

Can you elaborate?  I'm talking about very small tests targeted to
generate a specific instruction or small number of instructions.
Vectorization isn't the best example.  Something like verifying FMA
generation is a better example.

                        -David


More information about the llvm-dev mailing list