[PATCH] Always build all back-end table-gen files
renato.golin at linaro.org
Tue Mar 10 10:11:11 PDT 2015
As I said in the email thread, I might start by adding only *GenRegisterInfo.inc and *GenSubtargetInfo.inc to reduce the compilation time and not include *all* files unnecessarily. I'll re-post the patch with that change.
And yes, that's a release build, so debug builds will have a lot bigger changes, but maybe still proportional to the overall time, which is also longer.
Comment at: lib/Target/BPF/CMakeTblGen.txt:6
@@ +5,3 @@
+tablegen(LLVM BPFGenAsmWriter.inc -gen-asm-writer)
+tablegen(LLVM X86GenAsmMatcher.inc -gen-asm-matcher)
+tablegen(LLVM BPFGenDAGISel.inc -gen-dag-isel)
> This should probably be BPF
Hum... I'm not sure that's not intentional... BPF is not real hardware, but a meta-abstraction for the kernel, which I believe was only supported by X86. I'll have to check.
More information about the cfe-commits