[AMDGPU] Add True16 register classes.
[llvm-project.git] / llvm / test / Transforms / Inline / ML / fpi-update.ll
blob9208ad70b9a351496003e799af77d569f871b775
1 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
2 target triple = "x86_64-grtev4-linux-gnu"
4 ; TODO: we could instantiate the MLInliner with a non-model generated evaluator
5 ; and drop the requirement
6 ; REQUIRES: llvm_inliner_model_autogenerated
8 ; RUN: opt -enable-ml-inliner=release -passes='scc-oz-module-inliner,print<inline-advisor>' \
9 ; RUN:     -keep-inline-advisor-for-printing -max-devirt-iterations=0 \
10 ; RUN:     -mandatory-inlining-first=0 -S < %s 2>&1 | FileCheck %s 
12 define void @caller(i32 %i) #1 {
13   call void @callee(i32 %i)
14   ret void
17 define void @callee(i32 %i) #0 {
18 entry:
19   br label %loop
20 loop:
21   %cond = icmp slt i32 %i, 0
22   br i1 %cond, label %loop, label %exit
23 exit:
24   ret void
27 attributes #0 = { alwaysinline }
28 attributes #1 = { noinline optnone }
30 ; CHECK: [MLInlineAdvisor] FPI:
31 ; CHECK: caller:
32 ; CHECK: MaxLoopDepth: 1