Lower multiply with overflow checking to __mulo<mode>
authorEric Christopher <echristo@apple.com>
Fri, 17 Jun 2011 20:41:29 +0000 (20:41 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 17 Jun 2011 20:41:29 +0000 (20:41 +0000)
commit362fee90b9a1d64ac091755466caf6a94ade22eb
tree447311a20ba09a9f5ffb810b8c3f902e98be4df6
parent916a94b870042772568fca7995cf45aef7a6e333
Lower multiply with overflow checking to __mulo<mode>
calls if we haven't been able to lower them any
other way.

Fixes rdar://9090077 and rdar://9210061

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133288 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/RuntimeLibcalls.h
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/muloti.ll [new file with mode: 0644]