aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorStella Laurenzo <stellaraccident@gmail.com>2021-10-06 18:41:22 -0700
committerStella Laurenzo <stellaraccident@gmail.com>2021-10-07 08:42:12 -0700
commit5d6d30edf8b9b2c69215bdbbc651a85e4d0dc4ff (patch)
treeadfe691849eb11cd542201ae64da78c389fa0be0 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parenta61c0adba1944ef0792ecb4e5aa75072a240d5da (diff)
downloadllvm-5d6d30edf8b9b2c69215bdbbc651a85e4d0dc4ff.zip
llvm-5d6d30edf8b9b2c69215bdbbc651a85e4d0dc4ff.tar.gz
llvm-5d6d30edf8b9b2c69215bdbbc651a85e4d0dc4ff.tar.bz2
[mlir] Extend C and Python API to support bulk loading of DenseElementsAttr.
* This already half existed in terms of reading the raw buffer backing a DenseElementsAttr. * Documented the precise expectations of the buffer layout. * Extended the Python API to support construction from bitcasted buffers, allowing construction of all primitive element types (even those that lack a compatible representation in Python). * Specifically, the Python API can now load all integer types at all bit widths and all floating point types (f16, f32, f64, bf16). Differential Revision: https://reviews.llvm.org/D111284
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions