R600: Factor i64 UDIVREM lowering into its own fuction
authorTom Stellard <thomas.stellard@amd.com>
Sat, 15 Nov 2014 01:07:53 +0000 (01:07 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Sat, 15 Nov 2014 01:07:53 +0000 (01:07 +0000)
commitbf69d7610613c515b94d19e8bed68d0981aa40cf
tree42e3a4968ce73f4aa08e9926f92d3a591a201736
parent2f68dadb0a638ae820d1cfa8516e5366090ac97b
R600: Factor i64 UDIVREM lowering into its own fuction

This is so it could potentially be used by SI.  However, the current
implementation does not always produce correct results, so the
IntegerDivisionPass is being used instead.

llvm-svn: 222072
llvm/lib/Target/R600/AMDGPUISelLowering.cpp
llvm/lib/Target/R600/AMDGPUISelLowering.h
llvm/lib/Target/R600/R600ISelLowering.cpp