1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 13:33:37 +02:00
llvm-mirror/test/Transforms/InstCombine/memcpy.ll
Chris Lattner c131f7d23b upgrade this test.
llvm-svn: 115295
2010-10-01 05:47:16 +00:00

11 lines
333 B
LLVM

; RUN: opt < %s -instcombine -S | FileCheck %s
declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32, i1) nounwind
define void @test4(i8* %a) {
tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* %a, i8* %a, i32 100, i32 1, i1 false)
ret void
}
; CHECK: define void @test4
; CHECK-NEXT: ret void