mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
11 lines
272 B
LLVM
11 lines
272 B
LLVM
|
; RUN: opt < %s -instcombine -S | FileCheck %s
|
||
|
|
||
|
declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
|
||
|
|
||
|
define void @test4(i8* %a) {
|
||
|
tail call void @llvm.memcpy.i32( i8* %a, i8* %a, i32 100, i32 1 )
|
||
|
ret void
|
||
|
}
|
||
|
; CHECK: define void @test4
|
||
|
; CHECK-NEXT: ret void
|