brintos

brintos / llvm-project-archived public Read only

0
0
Text · 428 B · c1a0bfb Raw
12 lines · plain
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 %s4 5declare void @llvm.memcpy.inline.p0.p0.i64(ptr nocapture, ptr nocapture, i64, i1) nounwind6 7define void @test1(ptr %a, ptr %b) nounwind {8; CHECK: LLVM ERROR9  tail call void @llvm.memcpy.inline.p0.p0.i64(ptr %a, ptr %b, i64 8, i1 0 )10  ret void11}12