[llvm-commits] [llvm] r66902 - /llvm/trunk/lib/Target/X86/X86FastISel.cpp

Dan Gohman gohman at apple.com
Fri Mar 13 10:59:56 PDT 2009


On Mar 13, 2009, at 9:36 AM, Chris Lattner wrote:

> Author: lattner
> Date: Fri Mar 13 11:36:42 2009
> New Revision: 66902
>
> URL: http://llvm.org/viewvc/llvm-project?rev=66902&view=rev
> Log:
> 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

Hi Chris,

X86SelectZExt, at least, currently assumes that the top bits in
the register holding an i1 value are zero.

Dan




More information about the llvm-commits mailing list