Skip to content

[SPIR-V] Reapply llvm-spirv lifetime intrinsic customizations - #22862

Draft
vmaksimo wants to merge 1 commit into
intel:syclfrom
vmaksimo:restore-lifetime-customizations
Draft

[SPIR-V] Reapply llvm-spirv lifetime intrinsic customizations#22862
vmaksimo wants to merge 1 commit into
intel:syclfrom
vmaksimo:restore-lifetime-customizations

Conversation

@vmaksimo

@vmaksimo vmaksimo commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Restores the bitcast of private-AS lifetime pointer operands to i8*, so that OpLifetimeStart/OpLifetimeStop carry the object size rather than 0.

Removing this made ocloc AOT compilation fail with an IGC segmentation violation and error -11 on drivers whose SPIR-V reader consumes the Size operand. The same failure signature was reported for PyTorch builds on sycl-rel-7_0, where the customization is already restored (#22325).

Reverts commit 4f9fa54 (#22253)

Restores the bitcast of private-AS lifetime pointer operands to i8*, so
that OpLifetimeStart/OpLifetimeStop carry the object size rather than 0.

Removing this made ocloc AOT compilation fail with an IGC segmentation
violation and error -11 on drivers whose SPIR-V reader consumes the Size
operand. The same failure signature was reported for PyTorch builds on
sycl-rel-7_0, where the customization is already restored (intel#22325).

Reverts commit 4f9fa54 (intel#22253)
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.

1 participant