19 lines · plain
1; This test fails under the profcheck configuration due to profcheck creating2; metadata.3; UNSUPPORTED: profcheck4 5; Test prof-verify for functions without entry count6 7; RUN: not opt -passes=prof-verify %s -o - 2>&1 | FileCheck %s8 9define void @foo(i32 %i) {10 %c = icmp eq i32 %i, 011 br i1 %c, label %yes, label %no12yes:13 ret void14no:15 ret void16}17 18; CHECK: Profile verification failed: function entry count missing (set to 0 if cold)19