[all-commits] [llvm/llvm-project] 66b1e6: [mlir] Cleanup: Fix warnings in MLIR
Matthias Springer via All-commits
all-commits at lists.llvm.org
Thu Aug 5 18:37:02 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66b1e629d89543cb7542c184f7dfb32deee732e1
https://github.com/llvm/llvm-project/commit/66b1e629d89543cb7542c184f7dfb32deee732e1
Author: Matthias Springer <springerm at google.com>
Date: 2021-08-06 (Fri, 06 Aug 2021)
Changed paths:
M mlir/lib/Dialect/X86Vector/Transforms/LegalizeForLLVMExport.cpp
M mlir/lib/Transforms/ViewOpGraph.cpp
M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Log Message:
-----------
[mlir] Cleanup: Fix warnings in MLIR
Tested with gcc-10. Other compilers may generate additional warnings. This does not fix all warnings. There are a few extra ones in LLVMCore and MLIR.
* `OpEmitter::getAttrNameIndex`: -Wunused-function (function is private and not used anywhere)
* `PrintOpPass` copy constructor: -Wextra ("Base class should be explicitly initialized in the copy constructor")
* `LegalizeForLLVMExport.cpp`: -Woverflow (overflow is expected, silence warning by making the cast explicit)
Differential Revision: https://reviews.llvm.org/D107525
More information about the All-commits
mailing list