Hi I have a question abt type information such as unsigned/signed. I find that the information is not retained in the intermediate form and if needed conversions are generated. So if I needed to generate different instructions for signed/unsigned, is that possible ? thanks shrey
Hello> if needed conversions are generated. So if I needed to generate > different instructions for signed/unsigned, is that possible ?Yes, see e.g. http://llvm.org/docs/LangRef.html#i_udiv -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
thanks. One question - Isnt it needed for other arithmetic operations such as add etc ? shrey On Fri, Aug 13, 2010 at 10:36 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:> Hello > >> if needed conversions are generated. So if I needed to generate >> different instructions for signed/unsigned, is that possible ? > Yes, see e.g. http://llvm.org/docs/LangRef.html#i_udiv > > -- > With best regards, Anton Korobeynikov > Faculty of Mathematics and Mechanics, Saint Petersburg State University >