16 lines · plain
1; RUN: not llvm-as %s -disable-output 2>&1 | FileCheck %s2 3; CHECK: function declaration may not have a !prof attachment4declare !prof !0 void @f1()5 6define void @f2() !prof !0 {7 unreachable8}9 10; CHECK: function must have a single !prof attachment11define void @f3() !prof !0 !prof !0 {12 unreachable13}14 15!0 = !{!"function_entry_count", i64 100}16