R600: Use optimized 24bit path in udivrem
authorJan Vesely <jan.vesely@rutgers.edu>
Tue, 12 Aug 2014 17:31:20 +0000 (17:31 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Tue, 12 Aug 2014 17:31:20 +0000 (17:31 +0000)
commit3c57820bbb5a45240c32e8155644479edc870232
treec943760e1fbc0e350811e4b888f2151892a8d97c
parent10013446b964d8a245e8908c522d7cc77f4d81d4
R600: Use optimized 24bit path in udivrem

v2: drop enum keyword
    use correct extension mode
    don't bother computing the sign in unsinged case

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