blob: d556682786d7512f4b88db8a7547f872140d222f [file] [log] [blame]
Michael Kuperstein5f843032014-09-23 08:48:01 +00001; 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
7define void @memcpyintrinsic(i8* %dest, i8* %src, i32 %len) {
8entry:
9
Daniel Neilsonafa2e7e2018-01-19 17:13:12 +000010; CHECK: call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 1 %dest, i8* align 1 %src, i32 %len, i1 true)
11 call void @llvm.memcpy.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 %len, i1 true)
Pete Cooper6d024c62015-11-19 05:56:52 +000012
Michael Kuperstein5f843032014-09-23 08:48:01 +000013 ret void
14}
15
Daniel Neilsonafa2e7e2018-01-19 17:13:12 +000016declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i1)