1import subprocess 2import lit.util 3 4config.suffixes = ['.test', '.ll', '.s', '.yaml'] 5if not lit.util.which("llvm-profgen", config.llvm_tools_dir): 6 config.unsupported = True 7 8if not 'X86' in config.root.targets: 9 config.unsupported = True 10