These should be rewritten to fold without using the 'Rules' mechanism, but
authorChris Lattner <sabre@nondot.org>
Fri, 1 Dec 2006 19:50:54 +0000 (19:50 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 1 Dec 2006 19:50:54 +0000 (19:50 +0000)
commit9dec3a2c0ca8d59e50ffbf1c97b171c7d5f2d6ec
treea6aaa5248e9780437ffdef442ec756eef4a6b40d
parent63edf03fe51f8fe24230dd5891e4b8f252378a3d
These should be rewritten to fold without using the 'Rules' mechanism, but
until this happens at least make sext from bool and sitofp from bool do the
right thing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32087 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp