Skip to content

Commit 4b6f1ca

Browse files
committed
Rebase against precommitted tests
1 parent ecc9f0f commit 4b6f1ca

File tree

4 files changed

+0
-121
lines changed

4 files changed

+0
-121
lines changed

llvm/test/Transforms/GlobalOpt/cleanup-pointer-root-loads.ll

Lines changed: 0 additions & 42 deletions
This file was deleted.

llvm/test/Transforms/GlobalOpt/cleanup-pointer-root-stores.ll

Lines changed: 0 additions & 69 deletions
This file was deleted.

llvm/test/Transforms/GlobalOpt/cleanup-pointer-root-users-ops.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@ define i32 @main() local_unnamed_addr {
2424
; CHECK-NEXT: call void @foo()
2525
; CHECK-NEXT: br label [[IF_END]]
2626
; CHECK: if.end:
27-
; CHECK-NEXT: store ptr [[E]], ptr getelementptr inbounds ([3 x ptr], ptr @b, i64 0, i64 2), align 16
2827
; CHECK-NEXT: [[TMP1:%.*]] = load i32, ptr @a, align 4
2928
; CHECK-NEXT: [[INC:%.*]] = add nsw i32 [[TMP1]], 1
3029
; CHECK-NEXT: store i32 [[INC]], ptr @a, align 4
3130
; CHECK-NEXT: [[CMP:%.*]] = icmp slt i32 [[TMP1]], 2
3231
; CHECK-NEXT: br i1 [[CMP]], label [[FOR_BODY]], label [[FOR_END]]
3332
; CHECK: for.end:
34-
; CHECK-NEXT: call void @llvm.memcpy.p0.p0.i64(ptr @b, ptr null, i64 8, i1 false)
3533
; CHECK-NEXT: ret i32 0
3634
;
3735
entry:

llvm/test/Transforms/GlobalOpt/pr54572.ll

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,10 @@
66

77
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg)
88

9-
;.
10-
; CHECK: @[[B:[a-zA-Z0-9_$"\\.-]+]] = internal unnamed_addr global ptr null
11-
; CHECK: @[[C:[a-zA-Z0-9_$"\\.-]+]] = internal unnamed_addr constant [2 x ptr] zeroinitializer
12-
;.
139
define void @test() {
1410
; CHECK-LABEL: @test(
15-
; CHECK-NEXT: call void @llvm.memcpy.p0.p0.i64(ptr @b, ptr getelementptr inbounds ([2 x ptr], ptr @c, i64 0, i64 1), i64 8, i1 false)
1611
; CHECK-NEXT: ret void
1712
;
1813
call void @llvm.memcpy.p0.p0.i64(ptr @b, ptr getelementptr inbounds ([2 x ptr], ptr @c, i64 0, i64 1), i64 8, i1 false)
1914
ret void
2015
}
21-
;.
22-
; CHECK: attributes #[[ATTR0:[0-9]+]] = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
23-
;.

0 commit comments

Comments
 (0)