-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
[MCJIT][test] Move MCJIT non-interpreter tests to MCJIT subdirectory #124463
Merged
asb
merged 1 commit into
llvm:main
from
asb:2025q1-test-executionengine-move-mcjit-tests
Jan 28, 2025
Merged
[MCJIT][test] Move MCJIT non-interpreter tests to MCJIT subdirectory #124463
asb
merged 1 commit into
llvm:main
from
asb:2025q1-test-executionengine-move-mcjit-tests
Jan 28, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moving to the MCJIT subdirectory means they can be gated by a common lit.local.cfg. I remove the `; UNSUPPORTED: target=loongarch{{.*}}` lines because of this. The move is motivated by my desire to enable more of these tests for RISCV, and it seems like it would be wrong to keep extending the `UNSUPPORTED` lines for these individual tests. This patch does not move the MCJIT tests in the top-level directory that do `-force-interpreter=true`.
asb
added a commit
to asb/llvm-project
that referenced
this pull request
Jan 26, 2025
Although MCJIT is unsupported, we can and should be running the other tests. Stacks on top of llvm#124463 (needed to avoid unsupported MCJIT tests in the top-level test/ExecutionEngine directory running when they shouldn't). This effectively reverts b8feeba. ninja check-llvm-executionengine before: Total Discovered Tests: 335 Unsupported: 335 (100.00%) ninja check-llvm-executionengine after: Total Discovered Tests: 335 Unsupported : 125 (37.31%) Passed : 209 (62.39%) Expectedly Failed: 1 (0.30%)
This was referenced Jan 26, 2025
preames
approved these changes
Jan 27, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
lhames
approved these changes
Jan 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a nice cleanup.
asb
added a commit
that referenced
this pull request
Jan 28, 2025
Although MCJIT is unsupported, we can and should be running the other tests. Stacks on top of #124463 (needed to avoid unsupported MCJIT tests in the top-level test/ExecutionEngine directory running when they shouldn't). This effectively reverts b8feeba. ninja check-llvm-executionengine before: Total Discovered Tests: 335 Unsupported: 335 (100.00%) ninja check-llvm-executionengine after: Total Discovered Tests: 335 Unsupported : 125 (37.31%) Passed : 209 (62.39%) Expectedly Failed: 1 (0.30%)
asb
added a commit
to asb/llvm-project
that referenced
this pull request
Jan 28, 2025
…subdirectory I left these alone in llvm#124463 but I think it makes sense to clean these up as well (which Philip also noted in llvm#124464).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Moving to the MCJIT subdirectory means they can be gated by a common lit.local.cfg. I remove the
; UNSUPPORTED: target=loongarch{{.*}}
lines because of this (as the logic inMCJIT/lit.local.cfg
should be sufficient).The move is motivated by my desire to enable more of these tests for RISCV, and it seems like it would be wrong to keep extending the
UNSUPPORTED
lines for these individual tests.This patch does not move the MCJIT tests in the top-level directory that do
-force-interpreter=true
.As noted above I've left the
force-interpreter=true
tests alone but welcome feedback on if they should be moved as well.