[Mlir-commits] [mlir] [mlir][spirv] Replace hardcoded attribute strings with op methods Resolve #77627 (PR #81443)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Feb 14 01:13:17 PST 2024


================
@@ -215,11 +215,14 @@ spirv::Deserializer::processMemoryModel(ArrayRef<uint32_t> operands) {
   if (operands.size() != 2)
     return emitError(unknownLoc, "OpMemoryModel must have two operands");
 
+  StringRef addressing_model = module->getAddressingModelAttrName().strref();
----------------
SahilPatidar wrote:

done

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


More information about the Mlir-commits mailing list