[LLVMdev] Strange SetCond Behavior

Reid Spencer reid at x10sys.com
Sun May 9 17:40:02 PDT 2004

On Sun, 2004-05-09 at 15:25, Chris Lattner wrote:

> That sounds like a bug.  I'll look into it.  I assume you are seeing this
> problem with the X86 backend?


> > Perhaps the cast from bool to long doesn't work the same as for bool
> > to int? Should it?
> Yes, you should get a long 0 or 1.

That's what I thought.

> Please do, I'll also try to some unit tests to make sure things are
> working properly.

Working on it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040509/1c26a972/attachment.sig>

More information about the llvm-dev mailing list