Skip to content

Conversation

@copybara-service
Copy link

[Mosaic GPU] Fix lowering of InitializeBarrierOp.

In #30545, we replaced the conversion from LLVM pointer to Memref with an unrealized conversion cast. We forgot to update the lowering of InitializeBarrierOp accordingly.

The reason this is not a problem is because the result of InitializeBarrierOp is never used. We could drop the returned value from the op but this is orthogonal to this change.

In [#30545](#30545), we replaced the conversion from LLVM pointer to Memref with an unrealized conversion cast. We forgot to update the lowering of `InitializeBarrierOp` accordingly.

The reason this is not a problem is because the result of `InitializeBarrierOp` is never used. We could drop the returned value from the op but this is orthogonal to this change.

PiperOrigin-RevId: 826498254
@copybara-service copybara-service bot closed this Nov 5, 2025
@copybara-service copybara-service bot deleted the test_826498254 branch November 5, 2025 01:28
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.

2 participants