[Mlir-commits] [mlir] [mlir][spirv] Replace hardcoded attribute strings with op methods Resolve #77627 (PR #81443)
Mehdi Amini
llvmlistbot at llvm.org
Mon Feb 12 16:12:09 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();
----------------
joker-eph wrote:
Yes
https://github.com/llvm/llvm-project/pull/81443
More information about the Mlir-commits
mailing list