1 ; RUN: not opt -S -passes=kcfi %s 2>&1 | FileCheck %s
3 ; CHECK: error: -fpatchable-function-entry=N,M, where M>0 is not compatible with -fsanitize=kcfi on this target
4 define void @f1(ptr noundef %x) #0 {
5 call void %x() [ "kcfi"(i32 12345678) ]
9 attributes #0 = { "patchable-function-prefix"="1" }
11 !llvm.module.flags = !{!0}
12 !0 = !{i32 4, !"kcfi", i32 1}