Fix both the test for zero and what we do if we have a zero for
authorEric Christopher <echristo@apple.com>
Thu, 13 Sep 2012 23:24:02 +0000 (23:24 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 13 Sep 2012 23:24:02 +0000 (23:24 +0000)
commitffaf69b8b118808ca35ab84d477fd2e4e54cce90
tree2a997f8d542bbee0f0fcc57ff2970938840b1c7a
parent331f64cd0dc1249d0708af63b4d13509850c234e
Fix both the test for zero and what we do if we have a zero for
umulo legalization.

Fixes PR13839

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163856 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/X86/xmulo.ll [new file with mode: 0644]