[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:18 PST 2024


================
@@ -1142,7 +1142,7 @@ void OpEmitter::genAttrNameGetters() {
     } else {
       const char *const getAttrName = R"(
   assert(index < {0} && "invalid attribute index");
-  assert(name.getStringRef() == getOperationName() && "invalid operation name");
+  // assert(name.getStringRef() == getOperationName() && "invalid operation name");
----------------
tw-ilson wrote:

note the build is failing 1 test because of this

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


More information about the Mlir-commits mailing list