[PATCH] D66887: [test-suite][WIP] Add GCC C Torture Suite as External Test Suite
Lewis Revill via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 07:54:47 PDT 2019
lewis-revill added a comment.
I'd just like to bring up that at Embecosm we have been in discussions with the GCC community for a while about an alternative approach to this style of blacklisting, where instead we add more fine grained procedures within the target-supports.exp file to allow us to annotate tests with things like `/* { dg-require-effective-target builtin_setjmplngjmp } */`. For now we have also added gcc_frontend and gcc_internals 'effective targets' to help with cases like tests which check for GCC-specific warning output, or GCC-specific optimization behaviour.
This work has been ongoing at https://github.com/embecosm/gcc-for-llvm-testing/.
This approach also works well for adding checks for backend-specific restrictions. For example checking for `__attribute__((vector))` support.
Repository:
rT test-suite
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66887/new/
https://reviews.llvm.org/D66887
More information about the llvm-commits
mailing list