diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2022-09-02 16:09:05 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2022-09-06 11:54:34 +0200 |
commit | c349d7f4ff2931840b735b134e56478750f30948 (patch) | |
tree | 4b8516fdf6580989415fb209132fca47e2b5d771 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | f2c17a130a27cadd9d204bef09fd4ad64518c9da (diff) | |
download | llvm-c349d7f4ff2931840b735b134e56478750f30948.zip llvm-c349d7f4ff2931840b735b134e56478750f30948.tar.gz llvm-c349d7f4ff2931840b735b134e56478750f30948.tar.bz2 |
[SelectionDAG] Rewrite bfloat16 softening to use the "half promotion" path
The main difference is that this preserves intermediate rounding steps,
which the other route doesn't. This aligns bfloat16 more with half
floats, which use this path on most targets.
I didn't understand what the difference was between these softening
approaches when I first added bfloat lowerings, would be nice if we only
had one of them.
Based on @pengfei 's D131502
Differential Revision: https://reviews.llvm.org/D133207
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions