[Mlir-commits] [mlir] replaces hardcoded attribute names in SPIRV dialect parsing code (PR #81552)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Feb 12 16:18:43 PST 2024
================
@@ -42,8 +42,9 @@ static LogicalResult verifyAtomicUpdateOp(Operation *op) {
<< stringifyTypeName<ExpectedElementType>()
<< " value, found " << elementType;
+ StringRef semanticsAttrName = spirv::AtomicAndOp::getSemanticsAttrName(op->getName()).strref();
----------------
tw-ilson wrote:
Ok, will do
https://github.com/llvm/llvm-project/pull/81552
More information about the Mlir-commits
mailing list