Differential Revision: https://reviews.llvm.org/D155959
let useDefaultTypePrinterParser = 1;
let usePropertiesForAttributes = 1;
-
+ let useDefaultAttributePrinterParser = 1;
+
let extraClassDeclaration = [{
/// Return true if the given MemRefType has an integer address
/// space that matches the NVVM shared memory address space or
// TableGen'd dialect, type, and op definitions
//===----------------------------------------------------------------------===//
-#ifdef __GNUC__
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wunused-function"
-#endif
-
#define GET_ATTRDEF_CLASSES
#include "mlir/Dialect/NVGPU/IR/NVGPUAttrDefs.cpp.inc"
-#ifdef __GNUC__
-#pragma GCC diagnostic pop
-#endif
-
#include "mlir/Dialect/NVGPU/IR/NVGPUEnums.cpp.inc"
#define GET_OP_CLASSES