R600/SI: Expand urem of v2i32/v4i32 for SI
authorAaron Watry <awatry@gmail.com>
Tue, 25 Jun 2013 13:55:46 +0000 (13:55 +0000)
committerAaron Watry <awatry@gmail.com>
Tue, 25 Jun 2013 13:55:46 +0000 (13:55 +0000)
commit41f3db569c893eb39a6413718a5152f6de3c5099
treeb5be8b293c8f1d54e3988834c228180fd7bb3915
parente80978f9dd6bd8951d968fd2e85ec4c0996b62f5
R600/SI: Expand urem of v2i32/v4i32 for SI

Also add lit test for both cases on SI, and v2i32 for evergreen.

Note: I followed the guidance of the v4i32 EG check... UREM produces really
complex code, so let's just check that the instruction was lowered
successfully.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184844 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIISelLowering.cpp
test/CodeGen/R600/urem.ll