view llvm/test/CodeGen/AMDGPU/memcpy-inline-fails.ll @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children 1f2b6ac9f198
line wrap: on
line source

; 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.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i1) nounwind

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