10 lines · plain
1; Check that, in the absence of dependencies, we emit an error message when2; trying to use ML-driven inlining.3; REQUIRES: !have_tf_aot4; REQUIRES: !have_tflite5; RUN: not opt -passes=scc-oz-module-inliner -enable-ml-inliner=development -S < %s 2>&1 | FileCheck %s6; RUN: not opt -passes=scc-oz-module-inliner -enable-ml-inliner=release -S < %s 2>&1 | FileCheck %s7 8declare i64 @f1()9 10; CHECK: Could not setup Inlining Advisor for the requested mode and/or options