Some users have native c++ data types that correspond to the 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.
Details
Details
Summary
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Herald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptNov 12 2020, 10:33 PM
This revision is now accepted and ready to land.Nov 12 2020, 10:40 PM
This revision was landed with ongoing or failed builds.Nov 12 2020, 10:52 PM
Closed by commit rG2e71dad3328e: [mlir][DenseElementsAttr] Allow for custom floating point types in `getValues` (authored by rriddle). · Explain Why
This revision was automatically updated to reflect the committed changes.
clang-tidy: warning: invalid case style for class 'is_valid_cpp_fp_type' [readability-identifier-naming]
not useful