[Mlir-commits] [mlir] 94a47df - Revert "Fix warning: "unused variable 'attrClass'" (NFC)"
Mehdi Amini
llvmlistbot at llvm.org
Wed Dec 22 19:59:52 PST 2021
Author: Mehdi Amini
Date: 2021-12-23T03:59:25Z
New Revision: 94a47dfde283523e5b072abc68f42368d12e271a
URL: https://github.com/llvm/llvm-project/commit/94a47dfde283523e5b072abc68f42368d12e271a
DIFF: https://github.com/llvm/llvm-project/commit/94a47dfde283523e5b072abc68f42368d12e271a.diff
LOG: Revert "Fix warning: "unused variable 'attrClass'" (NFC)"
This reverts commit 724e6861b3d64eb74ecd98eff88955c91a200940.
This broke the build.
Added:
Modified:
mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
Removed:
################################################################################
diff --git a/mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp b/mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
index a2b862ea7cea7..ad0b05e4c47b4 100644
--- a/mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
+++ b/mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
@@ -1144,6 +1144,7 @@ static bool emitSerializationFns(const RecordKeeper &recordKeeper,
utilsString;
raw_string_ostream dSerFn(dSerFnString), dDesFn(dDesFnString),
serFn(serFnString), deserFn(deserFnString);
+ Record *attrClass = recordKeeper.getClass("Attr");
// Emit the serialization and deserialization functions simultaneously.
StringRef opVar("op");
More information about the Mlir-commits
mailing list