Fix a mistake in the computation of leading zeros for udiv.
authorDan Gohman <gohman@apple.com>
Fri, 2 May 2008 21:30:02 +0000 (21:30 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 2 May 2008 21:30:02 +0000 (21:30 +0000)
commit1d9cd506774f2d51b7e7315b07fdbcc05efebe4a
tree5fb78373be257cfcaf5f1a6971329d0c0a8b1054
parent48e8c80e1791adb7a07b8fd6e27edcdfbb756950
Fix a mistake in the computation of leading zeros for udiv.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50591 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/udiv-simplify-bug-0.ll [new file with mode: 0644]
test/Transforms/InstCombine/udiv-simplify-bug-1.ll [new file with mode: 0644]