From: Clement Courbet Date: Tue, 25 Sep 2018 09:36:44 +0000 (+0000) Subject: Revert rL342953 "[llvm-exegesis] Add lit tests." X-Git-Tag: llvmorg-8.0.0-rc1~8029 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d92c198ac2fb3c076f41fcc61cf6bae511be7fd;p=platform%2Fupstream%2Fllvm.git Revert rL342953 "[llvm-exegesis] Add lit tests." We also need to make sure that we're on the right subtarget. llvm-svn: 342955 --- diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt index 1d8047d..32f1e2e 100644 --- a/llvm/test/CMakeLists.txt +++ b/llvm/test/CMakeLists.txt @@ -60,7 +60,6 @@ set(LLVM_TEST_DEPENDS dsymutil llvm-dwarfdump llvm-dwp - llvm-exegesis llvm-extract llvm-isel-fuzzer llvm-lib diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py index 9099221..f6080df 100644 --- a/llvm/test/lit.cfg.py +++ b/llvm/test/lit.cfg.py @@ -140,17 +140,16 @@ tools = [ # FIXME: Why do we have both `lli` and `%lli` that do slightly different things? tools.extend([ - 'dsymutil', 'lli', 'lli-child-target', 'llvm-ar', 'llvm-as', - 'llvm-bcanalyzer', 'llvm-config', 'llvm-cov', 'llvm-cxxdump', 'llvm-cvtres', - 'llvm-diff', 'llvm-dis', 'llvm-dwarfdump', 'llvm-exegesis', 'llvm-extract', - 'llvm-isel-fuzzer', 'llvm-opt-fuzzer', 'llvm-lib', 'llvm-link', 'llvm-lto', - 'llvm-lto2', 'llvm-mc', 'llvm-mca', 'llvm-modextract', 'llvm-nm', - 'llvm-objcopy', 'llvm-objdump', 'llvm-pdbutil', 'llvm-profdata', - 'llvm-ranlib', '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', 'bugpoint', 'llc', 'llvm-symbolizer', 'opt', - 'sancov', 'sanstats']) + 'dsymutil', 'lli', 'lli-child-target', 'llvm-ar', 'llvm-as', 'llvm-bcanalyzer', + 'llvm-config', 'llvm-cov', 'llvm-cxxdump', 'llvm-cvtres', 'llvm-diff', 'llvm-dis', + 'llvm-dwarfdump', 'llvm-extract', 'llvm-isel-fuzzer', 'llvm-opt-fuzzer', 'llvm-lib', + 'llvm-link', 'llvm-lto', 'llvm-lto2', 'llvm-mc', 'llvm-mca', + 'llvm-modextract', 'llvm-nm', 'llvm-objcopy', 'llvm-objdump', + 'llvm-pdbutil', 'llvm-profdata', 'llvm-ranlib', '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', + 'bugpoint', 'llc', 'llvm-symbolizer', 'opt', 'sancov', 'sanstats']) # The following tools are optional tools.extend([ diff --git a/llvm/test/tools/llvm-exegesis/X86/latency-by-opcode-name.s b/llvm/test/tools/llvm-exegesis/X86/latency-by-opcode-name.s deleted file mode 100644 index 5c6889f..0000000 --- a/llvm/test/tools/llvm-exegesis/X86/latency-by-opcode-name.s +++ /dev/null @@ -1,6 +0,0 @@ -# RUN: llvm-exegesis -mode=latency -opcode-name=ADD32rr | FileCheck %s - -CHECK: mode: latency -CHECK-NEXT: key: -CHECK-NEXT: instructions: -CHECK-NEXT: ADD32rr diff --git a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg b/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg deleted file mode 100644 index 1d6936c..0000000 --- a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# We need support for X86. -if not ('X86' in config.root.targets): - config.unsupported = True - -# And we need to be running on an X86 host. -if not ('x86_64' in config.root.host_triple): - config.unsupported = True diff --git a/llvm/test/tools/llvm-exegesis/X86/uops-by-opcode-name.s b/llvm/test/tools/llvm-exegesis/X86/uops-by-opcode-name.s deleted file mode 100644 index 982bd4f..0000000 --- a/llvm/test/tools/llvm-exegesis/X86/uops-by-opcode-name.s +++ /dev/null @@ -1,6 +0,0 @@ -# RUN: llvm-exegesis -mode=uops -opcode-name=ADD32rr | FileCheck %s - -CHECK: mode: uops -CHECK-NEXT: key: -CHECK-NEXT: instructions: -CHECK-NEXT: ADD32rr diff --git a/llvm/test/tools/llvm-exegesis/lit.local.cfg b/llvm/test/tools/llvm-exegesis/lit.local.cfg deleted file mode 100644 index b2fc141..0000000 --- a/llvm/test/tools/llvm-exegesis/lit.local.cfg +++ /dev/null @@ -1,2 +0,0 @@ -if 'native' not in config.available_features: - config.unsupported = True