blob: d858907d7247be865b9e2e6106ca5b91ede9803e [file] [log] [blame]
Chandler Carruth49589f02012-07-02 18:37:59 +00001; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s
John McCall410eac52011-06-14 03:02:05 +00002
3; Check that intrinsics aren't added to the call graph
4
5declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
6
7define void @f(i8* %out, i8* %in) {
8 call void @llvm.memcpy.p0i8.p0i8.i32(i8* %out, i8* %in, i32 100, i32 4, i1 false)
9 ret void
10}
11
12; CHECK: Call graph node for function: 'f'
Stephen Lin0dfc1662013-07-13 22:00:58 +000013; CHECK-NOT: calls function 'llvm.memcpy.p0i8.p0i8.i32'