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)
commit57b2b0c4da98c2fa5e00b43c2c5fe8a3b57d75ca
tree31e6056ff17015858793031eb04b0e3e4aaaf6b7
parente7873018b5dacb33e2b44b69780314391c0bcc24
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222072 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
lib/Target/R600/AMDGPUISelLowering.h
lib/Target/R600/R600ISelLowering.cpp