[X86] Use NSW/NUW flags on ISD::TRUNCATE nodes to improve X86 PACKSS/PACKUS lowering...
[llvm-project.git] / llvm / test / Transforms / Inline / ML / size-estimator-training.ll
blob462cc6459e33384ef702fd7a2f98a3e3f9fc326b
1 ; REQUIRES: have_tflite
2 ; RUN: opt -passes='print<inliner-size-estimator>' -S < %S/Inputs/size-estimator.ll 2>&1 | FileCheck %s --check-prefix=DEFAULT
3 ; RUN: opt -passes='print<inliner-size-estimator>' -ml-inliner-ir2native-model=%S/../../../../unittests/Analysis/Inputs/ir2native_x86_64_model -S < %S/Inputs/size-estimator.ll 2>&1 | FileCheck %s
5 ; DEFAULT: [InlineSizeEstimatorAnalysis] size estimate for branches: None
6 ; CHECK: [InlineSizeEstimatorAnalysis] size estimate for branches: 28