1foreach(target AArch64 ARM ARC Hexagon Mips PowerPC SystemZ X86)
2  if (${target} IN_LIST LLVM_TARGETS_TO_BUILD)
3    add_subdirectory(${target})
4  endif()
5endforeach()
6