Skip to content

[OpenMP][test] Support target= in tests #142380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rorth
Copy link
Collaborator

@rorth rorth commented Jun 2, 2025

LLVM is moving towards the target=<target triple RE> syntax in XFAIL: etc., and I'll need the same in a subsequent patch.

This patch adds the necessary infrastructure.

Tested on sparc-sun-solaris2.11, sparcv9-sun-solaris2.11, sparc-unknown-linux-gnu, sparc64-unknown-linux-gnu, i386-pc-solaris2.11, amd64-pc-solaris2.11, i686-pc-linux-gnu, and x86_64-pc-linux-gnu.

LLVM is moving towards the `target=<target triple RE>` syntax in `XFAIL: `
etc., and I'll need the same in a subsequent patch.

This patch adds the necessary infrastructure.

Tested on `sparc-sun-solaris2.11`, `sparcv9-sun-solaris2.11`,
`sparc-unknown-linux-gnu`, `sparc64-unknown-linux-gnu`,
`i386-pc-solaris2.11`, `amd64-pc-solaris2.11`, `i686-pc-linux-gnu`, and
`x86_64-pc-linux-gnu`.
@llvmbot llvmbot added openmp:libomp OpenMP host runtime openmp:libomptarget OpenMP offload runtime labels Jun 2, 2025
rorth added a commit to rorth/llvm-project that referenced this pull request Jun 2, 2025
As detailed in Issue llvm#139905, the `libomp :: misc_bugs/many-microtask-args.c`
test currently `FAIL`s on SPARC:

```
# | Too many args to microtask: 17!

```
This happens on every target that lacks an assembler implementation of
`__kmp_invoke_microtask`, so this patch `XFAIL`s the test on SPARC.

The `target={{sparc.*}}` syntax requires PR llvm#142380.

Tested on `sparc-sun-solaris2.11`, `sparcv9-sun-solaris2.11`,
`sparc-unknown-linux-gnu`, and `sparc64-unknown-linux-gnu`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openmp:libomp OpenMP host runtime openmp:libomptarget OpenMP offload runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants