Skip to content

Comments

Clean up loop_peeling.test#723

Merged
inbelic merged 3 commits intollvm:mainfrom
inbelic:inbelic/loop-peel
Feb 19, 2026
Merged

Clean up loop_peeling.test#723
inbelic merged 3 commits intollvm:mainfrom
inbelic:inbelic/loop-peel

Conversation

@inbelic
Copy link
Contributor

@inbelic inbelic commented Feb 9, 2026

This change updates the test case to more directly highlight the underlying issue. Namely that for the NV and QC test failures, it is because there is an unexpected number of active lanes during the invocation of WaveActiveCountBits(true).

This additionally highlights another issue with AMD as it appears to report in quads in an unexpected manner.

@inbelic inbelic added the test-all When applied to a PR this will opt-in to additional pre-merge test configurations.. label Feb 9, 2026
@inbelic inbelic force-pushed the inbelic/loop-peel branch 3 times, most recently from d0c4dbe to 4a30387 Compare February 9, 2026 19:10
@inbelic inbelic changed the title update wave sizes to check for behaviour Clean up loop_peeling.test Feb 18, 2026
@inbelic inbelic removed the test-all When applied to a PR this will opt-in to additional pre-merge test configurations.. label Feb 18, 2026
@inbelic inbelic marked this pull request as ready for review February 18, 2026 22:11
- Name: Out
Format: UInt32
Data: [ 0, 0, 0, 0, 0, 0, 0, 0 ]
Stride: 16
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the stride should be 4, same for expectedout

# XFAIL: !WARP && Clang && (DirectX || Metal)
# XFAIL: Vulkan && Darwin
# Bug https://github.com/llvm/llvm-project/issues/165288
# XFAIL: Clang && !Vulkan
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you still need Vulkan && Darwin here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IIUC, I don't think this ever happens, we only use the metal shader converter with dxil generated code

@inbelic inbelic merged commit b2d1e70 into llvm:main Feb 19, 2026
12 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.

3 participants