[llvm-profgen] A couple tweaks to the testing harness.

1. Remove unnecessary filtering code.
2. Add llvm-profgen to tool substitutions.

Reviewed By: wenlei

Differential Revision: https://reviews.llvm.org/D101006
This commit is contained in:
Hongtao Yu 2021-04-21 18:02:11 -07:00
parent e9be1e7d84
commit aaf120b528
2 changed files with 1 additions and 3 deletions

View File

@ -161,7 +161,7 @@ tools.extend([
'llvm-install-name-tool', 'llvm-jitlink', 'llvm-opt-fuzzer', 'llvm-lib',
'llvm-link', 'llvm-lto', 'llvm-lto2', 'llvm-mc', 'llvm-mca',
'llvm-modextract', 'llvm-nm', 'llvm-objcopy', 'llvm-objdump', 'llvm-otool',
'llvm-pdbutil', 'llvm-profdata', 'llvm-ranlib', 'llvm-rc', 'llvm-readelf',
'llvm-pdbutil', 'llvm-profdata', 'llvm-profgen', 'llvm-ranlib', 'llvm-rc', 'llvm-readelf',
'llvm-readobj', 'llvm-rtdyld', 'llvm-size', 'llvm-split', 'llvm-strings',
'llvm-strip', 'llvm-tblgen', 'llvm-undname', 'llvm-c-test', 'llvm-cxxfilt',
'llvm-xray', 'yaml2obj', 'obj2yaml', 'yaml-bench', 'verify-uselistorder',

View File

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