summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>2019-09-23 11:04:11 +0000
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>2019-09-23 11:04:11 +0000
commitead96d73ac1489bb96ed4bab30c8d4b112862251 (patch)
tree344895594e1d0093683b6b415ec0eef3c20b4368 /llvm/test
parent753f6cff2f7147e71aae1b7607e5ccc08462e0a3 (diff)
downloadbcm5719-llvm-ead96d73ac1489bb96ed4bab30c8d4b112862251.tar.gz
bcm5719-llvm-ead96d73ac1489bb96ed4bab30c8d4b112862251.zip
Revert "Reland "[utils] Implement the llvm-locstats tool""
This reverts commit rL372554. llvm-svn: 372580
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/lit.cfg.py3
-rw-r--r--llvm/test/tools/llvm-dwarfdump/X86/locstats.ll17
2 files changed, 0 insertions, 20 deletions
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 5de95ebc136..6771b9e7fee 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -124,9 +124,6 @@ if config.have_ocamlopt:
opt_viewer_cmd = '%s %s/tools/opt-viewer/opt-viewer.py' % (sys.executable, config.llvm_src_root)
-config.substitutions.append(
- ('%llvm-locstats', "'%s' %s" % (config.python_executable,
- os.path.join(config.llvm_tools_dir, 'llvm-locstats'))))
tools = [
ToolSubst('%lli', FindTool('lli'), post='.', extra_args=lli_args),
ToolSubst('%llc_dwarf', FindTool('llc'), extra_args=llc_args),
diff --git a/llvm/test/tools/llvm-dwarfdump/X86/locstats.ll b/llvm/test/tools/llvm-dwarfdump/X86/locstats.ll
index ee5082a77fd..e88667390ea 100644
--- a/llvm/test/tools/llvm-dwarfdump/X86/locstats.ll
+++ b/llvm/test/tools/llvm-dwarfdump/X86/locstats.ll
@@ -1,9 +1,6 @@
; RUN: llc -debug-entry-values %s -o - -filetype=obj \
; RUN: | llvm-dwarfdump -statistics - | FileCheck %s
;
-; RUN: llc -debug-entry-values %s -o %t0.o -filetype=obj \
-; RUN: | %llvm-locstats %t0.o | FileCheck %s --check-prefix=LOCSTATS
-;
; CHECK: "entry value scope bytes covered":5
; CHECK: "formal params scope bytes total":20
; CHECK: "formal params scope bytes covered":20
@@ -87,20 +84,6 @@
; CHECK: "vars (excluding the debug entry values) with 90-99% of its scope covered":0
; CHECK: "vars (excluding the debug entry values) with 100% of its scope covered":1}
;
-; Test the llvm-locstats output.
-; LOCSTATS: 0% 1 16%
-; LOCSTATS: 1-9% 0 0%
-; LOCSTATS: 10-19% 0 0%
-; LOCSTATS: 20-29% 0 0%
-; LOCSTATS: 30-39% 0 0%
-; LOCSTATS: 40-49% 0 0%
-; LOCSTATS: 50-59% 1 16%
-; LOCSTATS: 60-69% 0 0%
-; LOCSTATS: 70-79% 0 0%
-; LOCSTATS: 80-89% 1 16%
-; LOCSTATS: 90-99% 0 0%
-; LOCSTATS: 100% 3 50%
-;
; The source code of the test case:
; extern void fn3(int *);
; extern void fn2 (int);
OpenPOWER on IntegriCloud