R600/SI: Expand sub for v2i32 and v4i32 for SI
authorTom Stellard <thomas.stellard@amd.com>
Thu, 20 Jun 2013 21:55:37 +0000 (21:55 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 20 Jun 2013 21:55:37 +0000 (21:55 +0000)
commit4010e438100fedeacd36ecd2385adabc02b6f236
treee30ca7199f1b6d2d3ae17b672cb5989d3aae74ab
parentfe91c515d788c4e07413704bcdaaa7de84e77be8
R600/SI: Expand sub for v2i32 and v4i32 for SI

Also add a v2i32 test to the existing v4i32 test.

Patch by: Aaron Watry

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Aaron Watry<awatry@gmail.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184482 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIISelLowering.cpp
test/CodeGen/R600/sub.ll