aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-07-12 08:03:09 -0700
committerCraig Topper <craig.topper@sifive.com>2023-07-12 08:03:35 -0700
commit45b172c838cb257a79a9bda19c6fb13617233353 (patch)
tree941483a86c1f69a9b83da95b58a6d757260f1311 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parentb75254270ed5920121de2c3654c5cacaab840c28 (diff)
downloadllvm-45b172c838cb257a79a9bda19c6fb13617233353.zip
llvm-45b172c838cb257a79a9bda19c6fb13617233353.tar.gz
llvm-45b172c838cb257a79a9bda19c6fb13617233353.tar.bz2
[LegalizeDAG] Prevent LegalizeLoadOps from creating extloads that mix int and fp types.
For RISC-V, getRegisterType for fp16 returns i16. i16->fp64 extload is considered legal because the LoadExtActions defaults to Legal for all entries. Only fp/fp and int/int entries are changed to Expand fore RISC-V. This patch detects the FP-ness has changed and won't try to call isLoadExtLegal. Alternatively, we could add Expand for int/fp and fp/int, but that seemed a little silly. Fixes #63816 Reviewed By: asb, wangpc Differential Revision: https://reviews.llvm.org/D155040
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions