forked from OSchip/llvm-project
[ObjCArcOpts] Regenerate test checks (NFC)
This commit is contained in:
parent
3e2ae92d3f
commit
4f4d071c90
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue