[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)
commit4791f6d89b01860d68e861522fb68bac6d29a149
tree54d079f82a8cb078a8798077d204221a54b5b6ec
parent59902c229f5146875fc229057e8dae4cee327f97
[DAGCombiner] Added CTLZ vector constant folding support.

llvm-svn: 239305
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/test/CodeGen/X86/vector-lzcnt-128.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/vector-lzcnt-256.ll [new file with mode: 0644]