R600: Use i24 optimized path for SREM
authorJan Vesely <jan.vesely@rutgers.edu>
Tue, 12 Aug 2014 17:31:17 +0000 (17:31 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Tue, 12 Aug 2014 17:31:17 +0000 (17:31 +0000)
commitb40562c0ecc0987855fb8ba045e9f538179e5895
tree46dc629a3d4e8a72b1a0b925c484cc8e648ea9c2
parent693defb6eae7fe96deddf0bcf1a54fcf2776b4b5
R600: Use i24 optimized path for SREM

v2: add tests
    rename LowerSDIV24 to LowerSDIVREM24
    handle the rem part in this function

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215460 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
lib/Target/R600/AMDGPUISelLowering.h
test/CodeGen/R600/sdiv24.ll [deleted file]
test/CodeGen/R600/sdivrem24.ll [new file with mode: 0644]