[flang-commits] [flang] [Flang] Add triple requirement for failing tests, NFC (PR #122898)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue Jan 14 06:03:07 PST 2025


skatrak wrote:

> Instead of restricting these could you use an `if` like this?
> 
> ```
> // RUN: %if x86-registered-target %{ %clang --target=x86_64 %s -c -o /dev/null -fintegrated-as -Wa,--no-warn 2>&1 | count 0 %}
> ```
> 
> https://github.com/llvm/llvm-project/blob/main/clang/test/Driver/as-warnings.c

Thank you for the suggestion, I wasn't even aware of this feature. Done!

https://github.com/llvm/llvm-project/pull/122898


More information about the flang-commits mailing list