generalize this code so that fast isel handles integer truncates to i1, which
authorChris Lattner <sabre@nondot.org>
Fri, 13 Mar 2009 16:36:42 +0000 (16:36 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Mar 2009 16:36:42 +0000 (16:36 +0000)
commit44ceb8a3411620b4191ef9ada1556be45a325719
treeed31ed76bdea4b1498de1cb781d17a0988ce9d58
parenta14b1ded69dc76f4e41ef60eeab89dc8575af44b
generalize this code so that fast isel handles integer truncates to i1, which
codegen to the same thing as integer truncates to i8 (the top bits are
just undefined).  This implements rdar://6667338

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66902 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp