[LLVMdev] Reducing the size of LLVM and clang
nicolas.capens at gmail.com
Mon Jun 14 07:08:04 PDT 2010
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.
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
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,
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev