1bdceefe9SMircea Trofin; The default inliner doesn't elide @adder, it believes it's too costly to inline 2bdceefe9SMircea Trofin; adder into switcher. The ML inliner carries out that inlining, resulting in 3bdceefe9SMircea Trofin; a smaller result (part of it is that adder gets elided). 4bdceefe9SMircea Trofin; 5bdceefe9SMircea Trofin; This test uses Inputs/test-module.ll, as it will share it with a similar test 6bdceefe9SMircea Trofin; for the 'development' mode. 7bdceefe9SMircea Trofin; 8*6c76d010SMircea Trofin; REQUIRES: llvm_inliner_model_autogenerated 973f02a61SMircea Trofin; RUN: opt -passes=scc-oz-module-inliner -enable-ml-inliner=release -S < %S/Inputs/test-module.ll 2>&1 | FileCheck %S/Inputs/test-module.ll --check-prefix=CHECK 1073f02a61SMircea Trofin; RUN: opt -passes=scc-oz-module-inliner -enable-ml-inliner=default -S < %S/Inputs/test-module.ll 2>&1 | FileCheck %S/Inputs/test-module.ll --check-prefix=DEFAULT 11