aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/AMDGPU/memcpy-inline-fails.ll
blob: c1a0bfb48e5f28e8c3890646d238dbdbbf6b1314 (plain)
1
2
3
4
5
6
7
8
9
10
11
; NOTE: This is expected to fail on target that do not support memcpy.	
; RUN: llc < %s -mtriple=r600-unknown-linux-gnu 2> %t.err || true	
; RUN: FileCheck --input-file %t.err %s

declare void @llvm.memcpy.inline.p0.p0.i64(ptr nocapture, ptr nocapture, i64, i1) nounwind

define void @test1(ptr %a, ptr %b) nounwind {
; CHECK: LLVM ERROR
  tail call void @llvm.memcpy.inline.p0.p0.i64(ptr %a, ptr %b, i64 8, i1 0 )
  ret void
}