llvm-for-llvmta/test/Transforms/Inline/inlining-advisor-default.ll

10 lines
465 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; Check that, in the absence of dependencies, we emit an error message when
; trying to use ML-driven inlining.
; REQUIRES: !have_tf_aot
; REQUIRES: !have_tf_api
; RUN: not opt -passes=scc-oz-module-inliner -enable-ml-inliner=development -S < %s 2>&1 | FileCheck %s
; RUN: not opt -passes=scc-oz-module-inliner -enable-ml-inliner=release -S < %s 2>&1 | FileCheck %s
declare i64 @f1()
; CHECK: Could not setup Inlining Advisor for the requested mode and/or options