CodeGen: use MSVC division on windows itanium
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 13 Oct 2016 23:00:11 +0000 (23:00 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 13 Oct 2016 23:00:11 +0000 (23:00 +0000)
commit7705c4f1be36d8c3384f71b71fdd6751a49d7a70
tree9160a6b9510c0ec4964117fe16d1c1daa53e6618
parent18fad46fe3c6b13698821b302f0c4b1b1f44007d
CodeGen: use MSVC division on windows itanium

Windows itanium is identical to MSVC when dealing with everything but C++.
Lower the math routines into msvcrt rather than compiler-rt.

llvm-svn: 284175
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/divide-windows-itanium.ll [new file with mode: 0644]