summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/buildSwigPython.py
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-11-21 14:32:06 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-11-21 14:32:06 +0000
commit0225b5bf6f7d8603191863530c40592502496a04 (patch)
tree8a11628eddc5223c09d9b39a6fdabd91f376c135 /lldb/scripts/Python/buildSwigPython.py
parent7a0f81a9b721d14b5c9840ea7d104ed8bf5f870b (diff)
downloadbcm5719-llvm-0225b5bf6f7d8603191863530c40592502496a04.tar.gz
bcm5719-llvm-0225b5bf6f7d8603191863530c40592502496a04.zip
[DAG] Teach how to turn a build_vector into a shuffle if some of the operands are zero.
Before this patch, the DAGCombiner only tried to convert build_vector dag nodes into shuffles if all operands were either extract_vector_elt or undef. This patch improves that logic and teaches the DAGCombiner how to deal with build_vector dag nodes where one or more operands are zero. A build_vector dag node with some zero operands is turned into a shuffle only if the resulting shuffle mask is legal for the target. llvm-svn: 222536
Diffstat (limited to 'lldb/scripts/Python/buildSwigPython.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud