[DAG] add splat vector support for 'or' in SimplifyDemandedBits
authorSanjay Patel <spatel@rotateright.com>
Wed, 19 Apr 2017 22:00:00 +0000 (22:00 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 19 Apr 2017 22:00:00 +0000 (22:00 +0000)
commit0658a95a350fe312a4a60bc340600f582755fd23
tree893f0642883f33d25ced1d1392206974d775157b
parent4a3a870da9fb88e2c5f6be4e603121a5b89d968e
[DAG] add splat vector support for 'or' in SimplifyDemandedBits

I've changed one of the tests to not fold away, but we didn't and still don't do the transform
that the comment claims we do (and I don't know why we'd want to do that).

Follow-up to:
https://reviews.llvm.org/rL300725
https://reviews.llvm.org/rL300763

llvm-svn: 300772
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/combine-or.ll
llvm/test/CodeGen/X86/i64-to-float.ll