Skip to content

Conversation

@maarquitos14
Copy link
Contributor

SPIR-V backend supports some extensions that our driver doesn't support yet (e.g. SPV_KHR_float_controls2), resulting in errors. This patch stops enabling all the SPIR-V backend supported extensions, and instead enables only a list of selected extensions. The list contains the intersection of extensions enabled for llvm-spirv with the extensions supported by the SPIR-V backend.

@maarquitos14 maarquitos14 requested a review from a team as a code owner October 28, 2025 14:10
@maarquitos14 maarquitos14 requested a review from MrSidims October 28, 2025 14:10
Copy link
Contributor

@hchilama hchilama left a comment

Choose a reason for hiding this comment

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

LGTM

@jsji
Copy link
Contributor

jsji commented Oct 28, 2025

@intel/llvm-gatekeepers Can we get this merged? Thanks!

@sarnex sarnex merged commit dcedf27 into intel:sycl Oct 28, 2025
32 of 33 checks passed
@sarnex
Copy link
Contributor

sarnex commented Oct 28, 2025

@maarquitos14 Seeing many postcommit fails when building E2E tests. Can you take a look?

https://github.com/intel/llvm/actions/runs/18885080359/job/53898211124

If you can't fix quickly lets revert.

// compilation" error
// - handle --spirv-ext=+<extension> and --spirv-ext=-<extension> options

// Disable all the extensions by default
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please update the comment to add why we are disabling all the SPIR-V backend extensions to give some additional context?

@sarnex
Copy link
Contributor

sarnex commented Oct 28, 2025

@maarquitos14 Reverted this change, please fix CI failures and make a new PR, thanks

maarquitos14 added a commit to maarquitos14/llvm that referenced this pull request Oct 29, 2025
…tel#20489)

SPIR-V backend supports some extensions that our driver doesn't support
yet (e.g. SPV_KHR_float_controls2), resulting in errors. This patch
stops enabling all the SPIR-V backend supported extensions, and instead
enables only a list of selected extensions. The list contains the
intersection of extensions enabled for llvm-spirv with the extensions
supported by the SPIR-V backend.
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.

6 participants