Skip to content

Drop clang implementation XFAILS for compare* offload tests - #1545

Merged
bob80905 merged 6 commits into
llvm:mainfrom
bob80905:remove_remaining_interlocked_clang_impl_xfails
Oct 1, 2026
Merged

bob80905 merged 6 commits into
llvm:mainfrom
bob80905:remove_remaining_interlocked_clang_impl_xfails

Conversation

@bob80905

@bob80905 bob80905 commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

The last 4 interlocked PRs in the llvm-repo are merged:
llvm/llvm-project#222164
llvm/llvm-project#222165
llvm/llvm-project#222166
llvm/llvm-project#222167

So, the associated xfails for unimplemented in clang should be removed.
Assisted by: Github Copilot

@bob80905
bob80905 marked this pull request as draft September 29, 2026 19:52
@bob80905
bob80905 marked this pull request as ready for review September 29, 2026 20:50
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 31a05c1a-5964-44c7-8232-fafe7d978d6b
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 31a05c1a-5964-44c7-8232-fafe7d978d6b
Comment on lines +312 to 316
# Bug: https://github.com/llvm/llvm-project/issues/227531
# XFAIL: Clang && (DirectX || Metal)
# Bug: https://github.com/llvm/llvm-project/issues/227064
# XFAIL: Clang && Vulkan
# RUN: split-file %s %t

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: somespacingmighthelpmakethiseasiertoread

Suggested change
# Bug: https://github.com/llvm/llvm-project/issues/227531
# XFAIL: Clang && (DirectX || Metal)
# Bug: https://github.com/llvm/llvm-project/issues/227064
# XFAIL: Clang && Vulkan
# RUN: split-file %s %t
# Bug: https://github.com/llvm/llvm-project/issues/227531
# XFAIL: Clang && (DirectX || Metal)
# Bug: https://github.com/llvm/llvm-project/issues/227064
# XFAIL: Clang && Vulkan
# RUN: split-file %s %t

# REQUIRES: Int64 && SM_6_6 && (!Vulkan || VulkanInt64BufferAtomics)
# Bug: https://github.com/llvm/llvm-project/issues/227531
# XFAIL: Clang && (DirectX || Metal)
# Bug: https://github.com/llvm/llvm-project/issues/227064

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

227064 is "Pointer-cast legalization crashes on constant groupshared array access", but there are no groupshared arrays in this test (and I think in the others as well). In fact, this test file explicitly says it is for the non-groupshared case. Are you sure this is the right bug to link to?

The compare tests hit SPIRVLegalizePointerCast.cpp:819 with 'Unsupported ptrcast user', which is issue 221370. Issue 227064 is a different crash at line 257.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 31a05c1a-5964-44c7-8232-fafe7d978d6b
@bob80905
bob80905 merged commit 76a5d70 into llvm:main Oct 1, 2026
26 of 32 checks passed
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.

4 participants