[Mlir-commits] [mlir] [mlir][gpu] Fix crash in RemoveDeadValues pass with gpu.launch ops (PR #182711)
Fedor Nikolaev
llvmlistbot at llvm.org
Sun Feb 22 06:48:17 PST 2026
================
@@ -942,6 +942,12 @@ static void printSizeAssignment(OpAsmPrinter &p, KernelDim3 size,
p << size.z << " = " << operands.z << ')';
}
+void LaunchOp::getEffects(
+ SmallVectorImpl<SideEffects::EffectInstance<MemoryEffects::Effect>>
+ &effects) {
+ effects.emplace_back(MemoryEffects::Write::get());
----------------
felichita wrote:
Get it. Fixed
https://github.com/llvm/llvm-project/pull/182711
More information about the Mlir-commits
mailing list