source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Analysis/CallGraph/no-intrinsics.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 424 bytes
Line 
1; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s
2
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'
13; CHECK-NOT: calls function 'llvm.memcpy.p0i8.p0i8.i32'
Note: See TracBrowser for help on using the repository browser.