#
68c8b6c4 |
| 09-Jan-2020 |
River Riddle <riverriddle@google.com> |
[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
[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
show more ...
|
#
56222a06 |
| 23-Dec-2019 |
Mehdi Amini <aminim@google.com> |
Adjust License.txt file to use the LLVM license
PiperOrigin-RevId: 286906740
|
#
2b67821b |
| 18-Jun-2019 |
River Riddle <riverriddle@google.com> |
Fix the detection of boolean splat values in DenseElementsAttr for arrays with <=15 values.
PiperOrigin-RevId: 253711372
|
#
5624bc28 |
| 14-Jun-2019 |
River Riddle <riverriddle@google.com> |
Add an overloaded 'get' method to DenseElementsAttr that accepts an initializer_list.
PiperOrigin-RevId: 253234385
|
#
b582338f |
| 14-Jun-2019 |
Alex Zinenko <zinenko@google.com> |
Explicitly construct ArrayRef in AttributeTest.cpp
Some compilers find initializer list constructors from boolean literals ambiguous between ArrayRef<bool> and ArrayRef<Attribute>. Call the ArrayRe
Explicitly construct ArrayRef in AttributeTest.cpp
Some compilers find initializer list constructors from boolean literals ambiguous between ArrayRef<bool> and ArrayRef<Attribute>. Call the ArrayRef<bool> constructor explicitly to disambiguate.
PiperOrigin-RevId: 253224859
show more ...
|
#
2c926912 |
| 13-Jun-2019 |
River Riddle <riverriddle@google.com> |
NFC: Fix a narrowing conversion from size_t to int64_t when constructing a VectorType.
PiperOrigin-RevId: 253125435
|
#
d8cd96bc |
| 11-Jun-2019 |
River Riddle <riverriddle@google.com> |
Refactor DenseElementsAttr to support auto-splatting the dense data on construction. This essentially means that we always auto-detect splat data and only store the minimum amount of data necessary.
Refactor DenseElementsAttr to support auto-splatting the dense data on construction. This essentially means that we always auto-detect splat data and only store the minimum amount of data necessary. Support for parsing dense splats, and removing SplatElementsAttr(now that it is redundant) will come in followup cls
PiperOrigin-RevId: 252720561
show more ...
|