[llvm] 4f4d071 - [ObjCArcOpts] Regenerate test checks (NFC)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 25 04:10:08 PST 2022


Author: Nikita Popov
Date: 2022-01-25T13:07:36+01:00
New Revision: 4f4d071c909ef142c858a7e938aca9a99173cabe

URL: https://github.com/llvm/llvm-project/commit/4f4d071c909ef142c858a7e938aca9a99173cabe
DIFF: https://github.com/llvm/llvm-project/commit/4f4d071c909ef142c858a7e938aca9a99173cabe.diff

LOG: [ObjCArcOpts] Regenerate test checks (NFC)

Added: 
    

Modified: 
    llvm/test/Transforms/ObjCARC/weak.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/ObjCARC/weak.ll b/llvm/test/Transforms/ObjCARC/weak.ll
index caaeba7280e80..2009addbbdc56 100644
--- a/llvm/test/Transforms/ObjCARC/weak.ll
+++ b/llvm/test/Transforms/ObjCARC/weak.ll
@@ -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)


        


More information about the llvm-commits mailing list