[LLVMdev] on type annotations of LLVM IR

David Chisnall David.Chisnall at cl.cam.ac.uk
Mon Oct 27 10:45:11 PDT 2014


On 27 Oct 2014, at 17:40, Rekha R <rekharamapai at nitc.ac.in> wrote:

> My question was from a machine independent code analyzer/optimizer perspective where types are of less importance. Hence I felt difficult to understand the IR with the types.

I'm not sure why you think that types are of less importance there - that's where they're most used.  When you get to the back end, a lot of the type information is throw away, as back ends have a far more restricted set of legal types.

David





More information about the llvm-dev mailing list