[all-commits] [llvm/llvm-project] 937e40: [mlir] Remove the non-templated DenseElementsAttr:...
River Riddle via All-commits
all-commits at lists.llvm.org
Mon Nov 8 17:56:58 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 937e40a8cf14ae2bb0545f23c3a32383f68d343a
https://github.com/llvm/llvm-project/commit/937e40a8cf14ae2bb0545f23c3a32383f68d343a
Author: River Riddle <riddleriver at gmail.com>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M mlir/include/mlir/IR/BuiltinAttributes.h
M mlir/include/mlir/IR/Matchers.h
M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
M mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/Vector/VectorOps.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Log Message:
-----------
[mlir] Remove the non-templated DenseElementsAttr::getSplatValue
This predates the templated variant, and has been simply forwarding
to getSplatValue<Attribute> for some time. Removing this makes the
API a bit more uniform, and also helps prevent users from thinking
it is "cheap".
More information about the All-commits
mailing list