[Mlir-commits] [mlir] [mlir][MemRef] Fix crash in GenericAtomicRMWOp parser on non-memref type (PR #180190)

Longsheng Mou llvmlistbot at llvm.org
Sun Aug 30 18:22:50 PDT 2026


================
@@ -1543,11 +1543,16 @@ ParseResult GenericAtomicRMWOp::parse(OpAsmParser &parser,
       parser.resolveOperands(ivs, indexType, result.operands))
     return failure();
 
+  auto memref_type = llvm::dyn_cast<MemRefType>(memrefType);
----------------
CoTinker wrote:

Could you please rename `memref_type` to `memrefType` or other camelback type name, thanks.

https://github.com/llvm/llvm-project/pull/180190


More information about the Mlir-commits mailing list