tco does not generate machine code, so it does not require (machine)
code-gen related dependencies.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
flang/tools/tco/tco.cpp | ||
---|---|---|
139 | Is this not needed for specifying target triples other than the host? |
Comment Actions
@schweitz ${LLVM_TARGETS_TO_BUILD} and InitializeAllTargets(); are for initializing LLVM backends (i.e. backends that generate machine code). IIUC, this is irrelevant in tco (it's not meant to generate machine code). Also, I've tested tco before and after this change and I see no difference in behavior.
Is this not needed for specifying target triples other than the host?