mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Remove dead code in testcase. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
24f0469865
commit
43c7aeef66
@ -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.
|
; Make sure we also take into account dependencies on the destination.
|
||||||
|
|
||||||
; CHECK-LABEL: define i8 @test_intermediate_read
|
; 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: 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: %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: call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* %b, i64 24, i32 1, i1 false)
|
||||||
; CHECK-NEXT: ret i8 %r
|
; CHECK-NEXT: ret i8 %r
|
||||||
define i8 @test_intermediate_read(i8* %a, i8* %b) #0 {
|
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)
|
call void @llvm.memset.p0i8.i64(i8* %a, i8 0, i64 64, i32 1, i1 false)
|
||||||
%r = load i8, i8* %a
|
%r = load i8, i8* %a
|
||||||
call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* %b, i64 24, i32 1, i1 false)
|
call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* %b, i64 24, i32 1, i1 false)
|
||||||
|
Loading…
Reference in New Issue
Block a user