summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2018-01-10 10:45:34 +0000
committerDiana Picus <diana.picus@linaro.org>2018-01-10 10:45:34 +0000
commitf949a0abace7977b5ea83dcfae70d439f6e3ebf4 (patch)
tree46a6e9fbabf680d9b215b3574bbe744b0ea81285 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
parent698d63a61a51438182127fc4ce56a535d532b182 (diff)
downloadbcm5719-llvm-f949a0abace7977b5ea83dcfae70d439f6e3ebf4.tar.gz
bcm5719-llvm-f949a0abace7977b5ea83dcfae70d439f6e3ebf4.zip
[ARM GlobalISel] Legalize G_FNEG for s32 and s64
For hard float, it is legal. For soft float, we need to lower to 0 - x first, and then we can use the libcall for G_FSUB. This is undoing some of the canonicalization performed by the IRTranslator (which introduces G_FNEG when it sees a 0 - x). Ideally, that canonicalization would be performed by a pre-legalizer pass that would allow targets to opt out of this behaviour rather than dance around it in the legalizer. llvm-svn: 322168
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud