Clean up the FFS optimization code, and make it correctly create the appropriate
authorChris Lattner <sabre@nondot.org>
Tue, 17 Jan 2006 18:27:17 +0000 (18:27 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Jan 2006 18:27:17 +0000 (18:27 +0000)
commitf91e97ae81d0037effea5165e34915fe359fdc94
tree28e3393596a55ad11a808870e8a1bdc1627bca66
parent063e765345fd49df0f53b807e57ada7c2ded7e16
Clean up the FFS optimization code, and make it correctly create the appropriate
unsigned llvm.cttz.* intrinsic, fixing the 2005-05-11-Popcount-ffs-fls regression
last night.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25398 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/SimplifyLibCalls.cpp