summaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/memcpy.ll
blob: 2e7b2c0bb41d57805977b0f29b3d93108e5ee02a (plain)
1
2
3
4
5
6
7
8
9
10
; 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
OpenPOWER on IntegriCloud