[LLVMdev] UIntTy, IntTy, and SByteTy

Ryan M. Lefever lefever at crhc.uiuc.edu
Tue Mar 6 20:22:06 PST 2007


I have llvm code that uses llvm::Type::UIntTy, llvm::Type::IntTy, and 
llvm::Type::SByteTy, but these are now removed.  What should I use for 
their replacement.  If I need to specify a size for IntTy and UIntTy, I 
want them to be the same size that an integer would be in C on the 
platform on which I'm compiling.  So, if I need the sizes is their a way 
to fetch the size that an integer would be in C on the platform that my 
code is compiling on?

Thanks,
Ryan




More information about the llvm-dev mailing list