diff options
author | River Riddle <riddleriver@gmail.com> | 2020-02-19 10:28:53 -0800 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-02-19 10:30:07 -0800 |
commit | 4a7364f1c2ef0c45d7e603799fe0b7662d4c4078 (patch) | |
tree | 7a5dd413f223d67283c45c69cbd7d2607e562bfa /llvm/lib/CodeGen/MachineLoopInfo.cpp | |
parent | 6b6c96695c0054ebad6816171ef89d5cb76a058b (diff) | |
download | llvm-4a7364f1c2ef0c45d7e603799fe0b7662d4c4078.zip llvm-4a7364f1c2ef0c45d7e603799fe0b7662d4c4078.tar.gz llvm-4a7364f1c2ef0c45d7e603799fe0b7662d4c4078.tar.bz2 |
[mlir][Parser] Use APFloat instead of FloatAttr when parsing DenseElementsAttrs.
Summary: DenseElementsAttr stores float values as raw bits internally, so creating attributes just to have them unwrapped is extremely inefficient.
Differential Revision: https://reviews.llvm.org/D74818
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions