Skip to content

Conversation

@sommerlukas
Copy link
Contributor

Avoid segmentation fault when verifying fences in case the fence is a block argument and therefore does not have a defining operation.

This is based on the bug reported from fuzzing and fixes #22960.

@sommerlukas sommerlukas self-assigned this Dec 29, 2025
Value signalFence) {
if (waitFence == signalFence &&
!isa<IREE::Util::NullOp>(waitFence.getDefiningOp())) {
!isa_and_present<IREE::Util::NullOp>(waitFence.getDefiningOp())) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've decided to be conversative in the case that the fence is block argument and raise the error if wait and signal fence are identical.

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.

hal.device.queue.dealloca verifier crashes when fence operand is a block argument

1 participant