[llvm-commits] [llvm] r136023 - in /llvm/trunk: cmake/modules/ lib/Target/ARM/ lib/Target/ARM/AsmParser/ lib/Target/ARM/Disassembler/ lib/Target/ARM/InstPrinter/ lib/Target/ARM/MCTargetDesc/ lib/Target/Alpha/ lib/Target/Alpha/MCTargetDesc/ lib/Target/Alpha/TargetInfo/ lib/Target/Blackfin/ lib/Target/Blackfin/MCTargetDesc/ lib/Target/CellSPU/ lib/Target/CellSPU/MCTargetDesc/ lib/Target/MBlaze/ lib/Target/MBlaze/AsmParser/ lib/Target/MBlaze/Disassembler/ lib/Target/MBlaze/InstPrinter/ lib/Target/MBlaze/MCTargetDesc/ lib/...

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jul 26 02:09:58 PDT 2011


On Tue, Jul 26, 2011 at 03:17:35AM +0200, Óscar Fuentes wrote:
> I think that the really nasty problem with tablegenning lies on the
> dependencies on .td files included by the main file listed in
> LLVM_TARGET_DEFINITIONS. Specifically, on those .td files living outside
> CMAKE_CURRENT_SOURCE_DIR. I think that sometimes modifications to those
> files are not detected, apart from using a brute-force approach on the
> `tablegen' macro for adding them as dependencies to the custom command.
> I tried to devise a method for accurately retrieving the dependencies
> from the main .td file (X86.td, for instance) but all the possibilities
> were too complex.

I don't know how to integrate it into the cmake build system, but tblgen
can give you proper dependencies with -d.

Joerg



More information about the llvm-commits mailing list