1 ; RUN: llvm-dis < %s.bc| FileCheck %s 2 3 ; standardCIntrinsic.3.2.ll.bc was generated by passing this file to llvm-as-3.2. 4 ; The test checks that LLVM does not misread standard C library intrinsic functions 5 ; of older bitcode files. 6 7 define void @memcpyintrinsic(i8* %dest, i8* %src, i32 %len) { 8 entry: 9 10 ; CHECK: call void @llvm.memcpy.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 %len, i32 1, i1 true) 11 call void @llvm.memcpy.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 %len, i32 1, i1 true) 12 13 ret void 14 } 15 16 declare void @llvm.memcpy.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 %len, i32 %align, i1 %isvolatile)