[DAGCombiner] Added CTLZ vector constant folding support.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 8 Jun 2015 16:19:00 +0000 (16:19 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 8 Jun 2015 16:19:00 +0000 (16:19 +0000)
commit298222a9303317b2d44c28ec233ce12a450284af
treee1a537a4cf5c02ea8285fb094150373aa3f13b91
parent7b4fbad1469f238d8bd05546bb46f2ba579ccdb1
[DAGCombiner] Added CTLZ vector constant folding support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/vector-lzcnt-128.ll [new file with mode: 0644]
test/CodeGen/X86/vector-lzcnt-256.ll [new file with mode: 0644]