R600: Add v2i32 test for vselect
authorAaron Watry <awatry@gmail.com>
Tue, 25 Jun 2013 13:55:54 +0000 (13:55 +0000)
committerAaron Watry <awatry@gmail.com>
Tue, 25 Jun 2013 13:55:54 +0000 (13:55 +0000)
commit0517275a57bcd6be4cee9c29295517239795b9a6
tree04e32d3c82ddd0e7bc150fdc81d72f55dbb261b5
parentdaabb20e1b344f42fa6a031fed668a285396650f
R600: Add v2i32 test for vselect

Note: Only adding test for evergreen, not SI yet.

When I attempted to expand vselect for SI, I got the following:
llc: /home/awatry/src/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:522:
llvm::SDValue llvm::DAGTypeLegalizer::PromoteIntRes_SETCC(llvm::SDNode*):
Assertion `SVT.isVector() == N->getOperand(0).getValueType().isVector() &&
"Vector compare must return a vector result!"' failed.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 184847
llvm/test/CodeGen/R600/vselect.ll