summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-08-07 15:53:46 -0700
committerCraig Topper <craig.topper@sifive.com>2021-08-07 16:06:00 -0700
commitd4ee84ceee454c15e963a5da6f5e1d89121594c9 (patch)
treea75ad876d6efd997bd5bd0a89cfc015bb833b4fc /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent47a889c668f913af84d4b2dd0b0cd904b1a23e92 (diff)
[RISCV] Support FP_TO_S/UINT_SAT for i32 and i64.
The fcvt fp to integer instructions saturate if their input is infinity or out of range, but the instructions produce a maximum integer for nan instead of 0 required for the ISD opcodes. This means we can use the instructions to do the saturating conversion, but we'll need to fix up the nan case at the end. We can probably improve the i8 and i16 default codegen as well, but I'll leave that for a follow up. Reviewed By: luismarques Differential Revision: https://reviews.llvm.org/D107230
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions