Remove dead code in testcase. NFC.

llvm-svn: 237501
This commit is contained in:
Ahmed Bougacha 2015-05-16 01:10:40 +00:00
parent 41e14c4dfa
commit d2b8fc1f3a
1 changed files with 0 additions and 4 deletions

View File

@ -129,15 +129,11 @@ define void @test_different_dst(i8* %dst2, i8* %src, i64 %src_size, i8* %dst, i6
; Make sure we also take into account dependencies on the destination.
; CHECK-LABEL: define i8 @test_intermediate_read
; CHECK-NEXT: %ca = alloca [64 x i8], align 8
; CHECK-NEXT: %c = getelementptr [64 x i8], [64 x i8]* %ca, i64 0, i64 0
; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %a, i8 0, i64 64, i32 1, i1 false)
; CHECK-NEXT: %r = load i8, i8* %a
; CHECK-NEXT: call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* %b, i64 24, i32 1, i1 false)
; CHECK-NEXT: ret i8 %r
define i8 @test_intermediate_read(i8* %a, i8* %b) #0 {
%ca = alloca [64 x i8], align 8
%c = getelementptr [64 x i8], [64 x i8]* %ca, i64 0, i64 0
call void @llvm.memset.p0i8.i64(i8* %a, i8 0, i64 64, i32 1, i1 false)
%r = load i8, i8* %a
call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* %b, i64 24, i32 1, i1 false)