Home | History | Annotate | Download | only in CallGraph
      1 ; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
      2 
      3 ; Check that intrinsics aren't added to the call graph
      4 
      5 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
      6 
      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)
      9   ret void
     10 }
     11 
     12 ; CHECK: Call graph node for function: 'f'
     13 ; CHECK-NOT: calls function 'llvm.memcpy.p0i8.p0i8.i32'