1 ; RUN: opt -disable-output -passes='print<memoryssa>' %s 2>&1 | FileCheck %s
3 declare void @llvm.memcpy.p0.p0.i64(ptr nocapture, ptr nocapture, i64, i1) nounwind
5 define void @source_clobber(ptr %a, ptr %b) {
6 ; CHECK-LABEL: @source_clobber(
7 ; CHECK-NEXT: ; 1 = MemoryDef(liveOnEntry)
8 ; CHECK-NEXT: call void @llvm.memcpy.p0.p0.i64(ptr %a, ptr %b, i64 128, i1 false)
9 ; CHECK-NEXT: ; MemoryUse(1)
10 ; CHECK-NEXT: [[X:%.*]] = load i8, ptr %b
11 ; CHECK-NEXT: ret void
13 call void @llvm.memcpy.p0.p0.i64(ptr %a, ptr %b, i64 128, i1 false)