1; NOTE: This is expected to fail on target that do not support memcpy.
2; RUN: llc < %s -mtriple=r600-unknown-linux-gnu 2> %t.err || true
3; RUN: FileCheck --input-file %t.err %s
4
5declare void @llvm.memcpy.inline.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i1) nounwind
6
7define void @test1(i8* %a, i8* %b) nounwind {
8; CHECK: LLVM ERROR
9  tail call void @llvm.memcpy.inline.p0i8.p0i8.i64(i8* %a, i8* %b, i64 8, i1 0 )
10  ret void
11}
12