[Mlir-commits] [mlir] [mlir][spirv] Replace hardcoded attribute strings with op methods Resolve #77627 (PR #81443)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Feb 12 01:23:44 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:
should I alter this all across the place?
https://github.com/llvm/llvm-project/pull/81443
More information about the Mlir-commits
mailing list