1 ; RUN: opt < %s -instcombine -S | FileCheck %s
3 declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32, i1) nounwind
5 define void @test1(i8* %a) {
6 tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* %a, i8* %a, i32 100, i32 1, i1 false)
8 ; CHECK: define void @test1
14 define void @test2(i8* %a) {
15 tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* %a, i8* %a, i32 100, i32 1, i1 true)
17 ; CHECK: define void @test2
18 ; CHECK-NEXT: call void @llvm.memcpy