brintos

brintos / llvm-project-archived public Read only

0
0
Text · 570 B · 18d593d Raw
19 lines · plain
1; RUN: opt -passes=inliner-wrapper -keep-inline-advisor-for-printing \2; RUN:     -enable-scc-inline-advisor-printing -S < %s 2>&1 | FileCheck %s3 4target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"5target triple = "x86_64-unknown-linux-gnu"6 7define dso_local noundef i32 @_Z3fooi(i32 noundef %y) {8entry:9  ret i32 %y10}11 12define dso_local noundef i32 @main(i32 noundef %argc, ptr noundef %argv) {13entry:14  %call = call noundef i32 @_Z3fooi(i32 noundef %argc)15  ret i32 %call16}17 18; CHECK-COUNT-4: Unimplemented InlineAdvisor print19