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