[LLVMdev] on type annotations of LLVM IR

Rekha R rekharamapai at nitc.ac.in
Mon Oct 27 11:02:12 PDT 2014


Currently i am doing an analysis which uses type info in conversion
instructions only. Hence the question.


On Mon, Oct 27, 2014 at 11:15 PM, David Chisnall <
David.Chisnall at cl.cam.ac.uk> wrote:

> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141027/fcd975c5/attachment.html>

More information about the llvm-dev mailing list