Allow vector integer constants to be created with
authorDan Gohman <gohman@apple.com>
Wed, 12 Dec 2007 22:21:26 +0000 (22:21 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 12 Dec 2007 22:21:26 +0000 (22:21 +0000)
commit890813243f9b4f5aa9c6d5ab79ffe948458197ab
tree7bc3aa55aaa6e8764f6bf15202a590f8205e5471
parent41ff20bff472c942d07cf5d85b3d7cd41a140a67
Allow vector integer constants to be created with
SelectionDAG::getConstant, in the same way as vector floating-point
constants. This allows the legalize expansion code for @llvm.ctpop and
friends to be usable with vector types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44954 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vec_ctbits.ll [new file with mode: 0644]