21 lines · plain
1; Check that, in the absence of dependencies, we emit an error message when2; trying to use ML-driven advisor.3; REQUIRES: !have_tf_aot4; REQUIRES: !have_tflite5; REQUIRES: default_triple6; RUN: not llc -O2 -regalloc-enable-priority-advisor=development < %s 2>&1 | FileCheck %s7; RUN: not llc -O2 -regalloc-enable-priority-advisor=release < %s 2>&1 | FileCheck %s8; RUN: llc -O2 -regalloc-enable-priority-advisor=default < %s 2>&1 | FileCheck %s --check-prefix=DEFAULT9 10; regalloc-enable-priority-advisor is not enabled for NVPTX11; UNSUPPORTED: target=nvptx{{.*}}12 13define void @f2(i64 %lhs, i64 %rhs, i64* %addr) {14 %sum = add i64 %lhs, %rhs15 store i64 %sum, i64* %addr16 ret void17}18 19; CHECK: Requested regalloc priority advisor analysis could be created. Using default20; DEFAULT-NOT: Requested regalloc priority advisor analysis could be created. Using default21