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

Duncan Sands baldrick at free.fr
Fri Mar 13 12:28:45 PDT 2009


Hi Dan,

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

that sounds bogus.  A general rule is that extra bits hold rubbish
values.  On the other hand, sometimes the nature of the extra bits
is guaranteed, check out the remarks about getBooleanContents in
SelectionDAGNodes.h.

Ciao,

Duncan.



More information about the llvm-commits mailing list