[X86] Remove incomplete custom handling of i128 sdivrem/udivrem on Windows.
authorCraig Topper <craig.topper@intel.com>
Thu, 6 Aug 2020 05:12:41 +0000 (22:12 -0700)
committerCraig Topper <craig.topper@intel.com>
Thu, 6 Aug 2020 06:01:07 +0000 (23:01 -0700)
commit0215ae9735376ab527f32a68b2fcc9eb540f48c8
tree836eb1e5bfe18f669036df200b2af8b611c24084
parentbac1a0839f34dc3c1c43ca7efc58a5f1bc2f9978
[X86] Remove incomplete custom handling of i128 sdivrem/udivrem on Windows.

We need to have special handling of i128 div/rem on Windows due
to a weird calling convention needed for the libcall. There was
also some code that made it look like we do the same for sdivrem/udiv,
but the code didn't account for multiple return values of those
functions so couldn't possibly work. I think this code never
triggers because we don't have libcall names defined for those
functions by default so DAGCombine never creates DIVREM nodes.
llvm/lib/Target/X86/X86ISelLowering.cpp