1 ; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
3 ; Check that intrinsics aren't added to the call graph
5 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
7 define void @f(i8* %out, i8* %in) {
8 call void @llvm.memcpy.p0i8.p0i8.i32(i8* %out, i8* %in, i32 100, i32 4, i1 false)
12 ; CHECK: Call graph node for function: 'f'
13 ; CHECK-NOT: calls function 'llvm.memcpy.p0i8.p0i8.i32'