1 ; REQUIRES: have_tflite
2 ; REQUIRES: x86_64-linux
4 ; Check that we can log more than 1 function.
6 ; RUN: llc -mtriple=x86_64-linux-unknown -regalloc=greedy -regalloc-enable-advisor=development \
7 ; RUN: -regalloc-training-log=%t1 < %s
8 ; RUN: FileCheck --input-file %t1 %s
10 ; RUN: llc -mtriple=x86_64-linux-unknown -regalloc=greedy -regalloc-enable-priority-advisor=development \
11 ; RUN: -regalloc-priority-training-log=%t2 < %s
12 ; RUN: FileCheck --input-file %t2 %s
16 define void @f1(i64 %lhs, i64 %rhs, i64* %addr) {
20 define void @f2(i64 %lhs, i64 %rhs, i64* %addr) {
21 %sum = add i64 %lhs, %rhs
23 store i64 %sum, i64* %addr
27 define void @f3(i64 %lhs, i64 %rhs, i64* %addr) {
31 ; CHECK-NOT: {"context":"f1"}
32 ; CHECK: {"context":"f2"}
33 ; CHECK-NOT: {"context":"f3"}