[LLVMdev] instruction's type

Nicolas Geoffray nicolas.geoffray at lip6.fr
Wed Sep 17 05:29:35 PDT 2008


Le Anh Quang wrote:
>  Hi, 
> I have a question about type in LLVM. Is the type of any instruction's
> parameter always determinate?
> E.g. an instruction with OPCODE
>  %tmp = OPCODE X, Y
> which has two parameters X, Y. So, is there the case, that type of X or Y is
> unclear?
>   

No, OPCODE will require that X and Y have the correct types (e.g. ADD 
requires that X and Y have the same types)

Nicolas
> Thanks for any advice
> Quang
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>   




More information about the llvm-dev mailing list