[cfe-dev] [LLVMdev] Reducing the size of LLVM and clang

Nicolas Capens nicolas.capens at gmail.com
Mon Jun 14 07:08:04 PDT 2010


Hi Robert,

Try removing intrinsics you don't need. In particular in Intrinsics.td you
can comment out some of the includes at the bottom of the file.

Cheers,

Nicolas


-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Robert Quill
Sent: Thursday, June 10, 2010 15:06
To: cfe-dev at cs.uiuc.edu; llvmdev at cs.uiuc.edu
Subject: [LLVMdev] Reducing the size of LLVM and clang

Hi all,

We are looking to try and reduce the size of the clang and LLVM
libraries and were wondering if anyone had any advice on how to do this.
All we want is to be able to compile from a single language to a single
back-end and for that back-end to emit instructions; we don't care about
anything else. Currently we are building LLVM to use only our target, so
that is OK. Is it possible to build clang with support for only one
language? Or does anyone else have any tips about how to reduce the size
of the libraries?

Thanks for your help,
Rob 


_______________________________________________
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 cfe-dev mailing list