1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/CodeGen/AMDGPU/memcpy-inline-fails.ll
Guillaume Chatelet 1b4e691b6d Revert "Disable memcpy-inline-fails.ll for windows"
This reverts commit adc2e250a1ca2089f870a7239231f4c8cec16546.
2020-03-16 16:03:39 +01:00

12 lines
436 B
LLVM

; 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
}