[LLVMdev] setCC

Brian R. Gaeke gaeke at uiuc.edu
Sat Sep 28 00:58:01 PDT 2002


It seems like you should be able to statically evaluate these 
if you assume that NULL is zero and alloca returns an unsigned
nonzero pointer value.

> what's the semantics for setCC if one of the operands is NULL pointer?
> %ptr=alloc int
> seteq int*, %pt, NULL
> 
> what's the result for the second instruction? How about setne, setlt,
> setgt, setle, and setge? Thanks!
> 
> Jianzhong
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev

-- 
gaeke at uiuc.edu



More information about the llvm-dev mailing list