[all-commits] [llvm/llvm-project] 68c8b6: [mlir] Use getDenseElementBitwidth instead of Type...
River Riddle via All-commits
all-commits at lists.llvm.org
Thu Jan 9 14:52:37 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 68c8b6c4cd117cc962155298f0e1d45056ecc001
https://github.com/llvm/llvm-project/commit/68c8b6c4cd117cc962155298f0e1d45056ecc001
Author: River Riddle <riverriddle at google.com>
Date: 2020-01-09 (Thu, 09 Jan 2020)
Changed paths:
M mlir/lib/IR/Attributes.cpp
M mlir/unittests/IR/AttributeTest.cpp
Log Message:
-----------
[mlir] Use getDenseElementBitwidth instead of Type::getElementTypeBitWidth.
Summary: Some data values have a different storage width than the corresponding MLIR type, e.g. bfloat is currently stored as a double.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D72478
More information about the All-commits
mailing list