1; Check that, in the absence of dependencies, we emit an error message when
2; trying to use ML-driven advisor.
3; REQUIRES: !have_tf_aot
4; REQUIRES: !have_tf_api
5; RUN: not llc -O2 -regalloc-enable-advisor=development < %s 2>&1 | FileCheck %s
6; RUN: not llc -O2 -regalloc-enable-advisor=release < %s 2>&1 | FileCheck %s
7; RUN: llc -O2 -regalloc-enable-advisor=default < %s 2>&1 | FileCheck %s --check-prefix=DEFAULT
8
9define void @f2(i64 %lhs, i64 %rhs, i64* %addr) {
10  %sum = add i64 %lhs, %rhs
11  store i64 %sum, i64* %addr
12  ret void
13}
14
15; CHECK: Requested regalloc eviction advisor analysis could be created. Using default
16; DEFAULT-NOT: Requested regalloc eviction advisor analysis could be created. Using default
17