[LLVMdev] Check if an IntegerType is signed

Pedro Ferreira pedro.ferreira at imgtec.com
Fri Sep 17 01:55:53 PDT 2010


The signess of the operands is described in the operation itself, should
the sign be relevant, such as
Instruction::UDiv and Instructin::SDiv (unsigned and signed division)
Instruction::URem and Instruction::SRem

On Thu, 2010-09-16 at 13:48 -0500, Arushi Aggarwal wrote:
> How can I check if a particular Integer Type is signed/unsigned?
> 
> 
> Arushi
> _______________________________________________
> 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