[ObjCArcOpts] Regenerate test checks (NFC)

This commit is contained in:
Nikita Popov 2022-01-25 13:07:36 +01:00
parent 3e2ae92d3f
commit 4f4d071c90
1 changed files with 23 additions and 20 deletions

View File

@ -1,3 +1,4 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -objc-arc -S < %s | FileCheck %s
declare i8* @llvm.objc.initWeak(i8**, i8*)
@ -10,27 +11,29 @@ declare void @llvm.objc.copyWeak(i8**, i8**)
; If the pointer-to-weak-pointer is null, it's undefined behavior.
; CHECK-LABEL: define void @test0(
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: store i8* undef, i8** null
; CHECK: ret void
define void @test0(i8* %p, i8** %q) {
; CHECK-LABEL: @test0(
; CHECK-NEXT: entry:
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: store i8* undef, i8** null, align 8
; CHECK-NEXT: ret void
;
entry:
call i8* @llvm.objc.storeWeak(i8** null, i8* %p)
call i8* @llvm.objc.storeWeak(i8** undef, i8* %p)