summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2015-10-12 23:00:11 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2015-10-12 23:00:11 +0000
commitc8832fc23363321dea5c289007390c84c483f9cf (patch)
tree48b149fdda47e2fc1c5da84af98c8344f78bd636 /lldb/source/Plugins/ScriptInterpreter/Python
parent903955451efae876b524d95c3a72b08ac977fc6d (diff)
downloadbcm5719-llvm-c8832fc23363321dea5c289007390c84c483f9cf.tar.gz
bcm5719-llvm-c8832fc23363321dea5c289007390c84c483f9cf.zip
[SelectionDAG] Add common vector constant folding helper function
We have a number of functions that implement constant folding of vectors (unary and binary ops) in near identical manners (and the differences don't appear to be critical). This patch introduces a common implementation (SelectionDAG::FoldConstantVectorArithmetic) and calls this in both the unary and binary op cases. After this initial patch I intend to begin enabling vector constant folding for a wider number of opcodes in SelectionDAG::getNode(). Differential Revision: http://reviews.llvm.org/D13665 llvm-svn: 250118
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud