Skip to content

[llvm][test] Change an XFAIL into a more correct REQUIRES #137942

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

Merged
merged 1 commit into from
May 1, 2025

Conversation

mstorsjo
Copy link
Member

As this test is about executing x86_64 code with "lli", we should only try to do it if we actually execute on an x86_64 target. So instead of XFAILing individual architectures that can't execute it, instead change this into requiring an x86_64 target.

Also generalize the target triple form used; don't assume that the vendor field is set to "pc" - many mingw toolchains use the vendor field set to "w64".

As this test is about executing x86_64 code with "lli", we
should only try to do it if we actually execute on an x86_64
target. So instead of XFAILing individual architectures that
can't execute it, instead change this into requiring an x86_64
target.

Also generalize the target triple form used; don't assume that the
vendor field is set to "pc" - many mingw toolchains use the
vendor field set to "w64".
@DavidSpickett DavidSpickett changed the title [test] Change an XFAIL into a more correct REQUIRES [llvm][test] Change an XFAIL into a more correct REQUIRES Apr 30, 2025
Copy link
Collaborator

@DavidSpickett DavidSpickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, much simpler to say the one place we can run rather than all the one's we can't.

@mstorsjo mstorsjo merged commit 724eea7 into llvm:main May 1, 2025
12 checks passed
@mstorsjo mstorsjo deleted the jit-test-windows-xfail branch May 1, 2025 12:27
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
As this test is about executing x86_64 code with "lli", we should only
try to do it if we actually execute on an x86_64 target. So instead of
XFAILing individual architectures that can't execute it, instead change
this into requiring an x86_64 target.

Also generalize the target triple form used; don't assume that the
vendor field is set to "pc" - many mingw toolchains use the vendor field
set to "w64".
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
As this test is about executing x86_64 code with "lli", we should only
try to do it if we actually execute on an x86_64 target. So instead of
XFAILing individual architectures that can't execute it, instead change
this into requiring an x86_64 target.

Also generalize the target triple form used; don't assume that the
vendor field is set to "pc" - many mingw toolchains use the vendor field
set to "w64".
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
As this test is about executing x86_64 code with "lli", we should only
try to do it if we actually execute on an x86_64 target. So instead of
XFAILing individual architectures that can't execute it, instead change
this into requiring an x86_64 target.

Also generalize the target triple form used; don't assume that the
vendor field is set to "pc" - many mingw toolchains use the vendor field
set to "w64".
GeorgeARM pushed a commit to GeorgeARM/llvm-project that referenced this pull request May 7, 2025
As this test is about executing x86_64 code with "lli", we should only
try to do it if we actually execute on an x86_64 target. So instead of
XFAILing individual architectures that can't execute it, instead change
this into requiring an x86_64 target.

Also generalize the target triple form used; don't assume that the
vendor field is set to "pc" - many mingw toolchains use the vendor field
set to "w64".
Ankur-0429 pushed a commit to Ankur-0429/llvm-project that referenced this pull request May 9, 2025
As this test is about executing x86_64 code with "lli", we should only
try to do it if we actually execute on an x86_64 target. So instead of
XFAILing individual architectures that can't execute it, instead change
this into requiring an x86_64 target.

Also generalize the target triple form used; don't assume that the
vendor field is set to "pc" - many mingw toolchains use the vendor field
set to "w64".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants