[all-commits] [llvm/llvm-project] 2e71da: [mlir][DenseElementsAttr] Allow for custom floatin...
River Riddle via All-commits
all-commits at lists.llvm.org
Thu Nov 12 22:52:02 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2e71dad3328e03337eca53352e7d45b6efc7e0a2
https://github.com/llvm/llvm-project/commit/2e71dad3328e03337eca53352e7d45b6efc7e0a2
Author: River Riddle <riddleriver at gmail.com>
Date: 2020-11-12 (Thu, 12 Nov 2020)
Changed paths:
M mlir/include/mlir/IR/Attributes.h
Log Message:
-----------
[mlir][DenseElementsAttr] Allow for custom floating point types in `getValues`
Some users have native c++ data types that correspond to floating point values stored within a DenseElementsAttr that do not have a corresponding native C++ data type(e.g. bfloat16/half/etc). This revision allows for such users to use those native types directly, and removes the need to go through APFloat when the much faster native value path is available.
Differential Revision: https://reviews.llvm.org/D91402
More information about the All-commits
mailing list