diff options
author | Tanyo Kwok <tianyou.gty@alibaba-inc.com> | 2022-07-20 19:12:41 +0000 |
---|---|---|
committer | Sean Silva <silvasean@google.com> | 2022-07-20 21:58:15 +0000 |
commit | 5b0d6bf2102bd56b179238f2ce0dac11d43b4bc3 (patch) | |
tree | b6bc42d425c7b1ac0deded888970b1298adcacb1 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 459cfa5e94d75b08aa421b79765ba1cd2126c4a4 (diff) | |
download | llvm-5b0d6bf2102bd56b179238f2ce0dac11d43b4bc3.zip llvm-5b0d6bf2102bd56b179238f2ce0dac11d43b4bc3.tar.gz llvm-5b0d6bf2102bd56b179238f2ce0dac11d43b4bc3.tar.bz2 |
[MLIR] Add function to create Float16 array attribute
This patch adds a new function mlirDenseElementsAttrFloat16Get(),
which accepts the shaped type, the number of Float16 values, and a
pointer to an array of Float16 values, each of which is a uint16_t
value.
This commit is repeating https://reviews.llvm.org/D123981 + #761 but for Float16
Differential Revision: https://reviews.llvm.org/D130069
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions