119 changes: 0 additions & 119 deletions llvm/lib/Analysis/models/log_reader.py

This file was deleted.

740 changes: 0 additions & 740 deletions llvm/test/CodeGen/MLRegalloc/Inputs/two-large-fcts.ll

This file was deleted.

18 changes: 0 additions & 18 deletions llvm/test/CodeGen/MLRegalloc/dev-mode-logging.ll
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
; RUN: sed -i 's/\\n/ /g' %t2
; RUN: FileCheck --input-file %t2 %s --check-prefixes=CHECK,ML

; RUN: llc -o /dev/null -mtriple=x86_64-linux-unknown -regalloc=greedy \
; RUN: -regalloc-enable-advisor=development -regalloc-training-log=%t3.log \
; RUN: -tfutils-use-simplelogger < %S/Inputs/two-large-fcts.ll
; RUN: %python %S/../../../lib/Analysis/models/log_reader.py %t3.log | FileCheck %s --check-prefixes=CHECK-LOG

; CHECK-NOT: nan
; CHECK-LABEL: key: \"index_to_evict\"
; ML-NEXT: value: 9
Expand All @@ -39,16 +34,3 @@
; NOML: value: 36.64
; CHECK-NEXT: feature_list
; CHECK-NEXT: key: \"start_bb_freq_by_max\"

; CHECK-LOG: context: SyFgetsCopy
; CHECK-LOG-NEXT: observation: 0
; CHECK-LOG-NEXT: mask: 0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
; CHECK-LOG: index_to_evict: 12
; CHECK-LOG: observation: 16
; CHECK-LOG: reward: 36.64
; CHECK-LOG: context: SyFgets
; CHECK-LOG-NEXT: observation: 0
; CHECK-LOG-NEXT: mask: 0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
; CHECK-LOG: index_to_evict: 12
; CHECK-LOG: observation: 16
; CHECK-LOG: reward: 36.64

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions llvm/test/Transforms/Inline/ML/ml-test-development-mode.ll
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,3 @@
; RUN: %python %S/../../../../lib/Analysis/models/saved-model-to-tflite.py %t_savedmodel %t
; RUN: opt -passes=scc-oz-module-inliner -enable-ml-inliner=default -S < %S/Inputs/test-module.ll 2>&1 | FileCheck %S/Inputs/test-module.ll --check-prefix=DEFAULT
; RUN: opt -passes=scc-oz-module-inliner -enable-ml-inliner=development -ml-inliner-model-under-training=%t -S < %S/Inputs/test-module.ll 2>&1 | FileCheck %S/Inputs/test-module.ll --check-prefix=CHECK
; RUN: opt -passes=scc-oz-module-inliner -enable-ml-inliner=development -training-log=%t.log -tfutils-use-simplelogger -S < %S/Inputs/test-module.ll 2>&1
; RUN: %python %S/../../../../lib/Analysis/models/log_reader.py %t.log | FileCheck %s --check-prefix=CHECK-LOG

CHECK-LOG: observation: 0
CHECK-LOG-NEXT: {{^sroa_savings:}} 0
CHECK-LOG: {{^cost_estimate:}} -30
CHECK-LOG: {{^inlining_decision:}} 1
CHECK-LOG-NEXT: observation: 1
CHECK-LOG: observation: 6