Fix PR1816, by correcting the broken definition of APInt::countTrailingZeros.
authorChris Lattner <sabre@nondot.org>
Fri, 23 Nov 2007 22:42:31 +0000 (22:42 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 23 Nov 2007 22:42:31 +0000 (22:42 +0000)
commit9e513acd3145036bd06b5e0f5bcc83a3e5c08854
tree96d9fb363f32d37c2ba69af504ad1faea4140c0e
parent8314a0cd0ff3a1bb86bf8ab7ec6e35b232c6cb37
Fix PR1816, by correcting the broken definition of APInt::countTrailingZeros.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44296 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APInt.h
lib/Support/APInt.cpp
test/Transforms/ConstProp/2007-11-23-cttz.ll [new file with mode: 0644]