summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <mkuper@google.com>2016-09-28 06:13:58 +0000
committerMichael Kuperstein <mkuper@google.com>2016-09-28 06:13:58 +0000
commit3e06eafc2089f4c8ebca4ce632a29161d3a15df1 (patch)
tree12b9029f88a476142ce85a4b3733690c5a4f1668 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent536ff0dd2f3b5c27de5c2ad0bd19ab424aae9f09 (diff)
downloadbcm5719-llvm-3e06eafc2089f4c8ebca4ce632a29161d3a15df1.tar.gz
bcm5719-llvm-3e06eafc2089f4c8ebca4ce632a29161d3a15df1.zip
[DAG] Remove isVectorClearMaskLegal() check from vector_build dagcombine
This check currently doesn't seem to do anything useful on any in-tree target: On non-x86, it always evaluates to false, so we never hit the code path that creates the shuffle with zero. On x86, it just forwards to isShuffleMaskLegal(), which is a reasonable thing to query in general, but doesn't make sense if only restricted to zero blends. Differential Revision: https://reviews.llvm.org/D24625 llvm-svn: 282567
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud