aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-08-19 19:45:37 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-08-19 19:45:37 +0000
commit170eb985dad2bc4d0bea63262d043d4135170885 (patch)
tree336d559a1f7deccd6f006c5894130d4d9aca08f4 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parenta5dbed4936f50b3405a744045e0e7495e13d77d0 (diff)
downloadllvm-170eb985dad2bc4d0bea63262d043d4135170885.zip
llvm-170eb985dad2bc4d0bea63262d043d4135170885.tar.gz
llvm-170eb985dad2bc4d0bea63262d043d4135170885.tar.bz2
IR: Thread OnlyIfReduced through ConstantExpr::getWithOperands()
In order to change `ConstantExpr::replaceUsesOfWithOnConstant()` to work like other constants (e.g., using `ConstantArray::getImpl()`), thread `OnlyIfReduced` through as necessary. When `OnlyIfReduced` is false, there's no functionality change. When it's true, if there's no constant folding or type changes `nullptr` is returned instead of the new constant. `ConstantExpr::replaceUsesOfWithOnConstant()` will be updated to use the "true" version in a follow-up commit. llvm-svn: 216015
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions