1 // RUN: %clang_cc1 -triple arm64e-apple-ios15.0.0 -emit-llvm-bc -fobjc-arc -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s
6 @interface NSObject <NSObject>
9 @interface WidgetTester : NSObject
12 @implementation WidgetTester
18 - (_Bool)withWidget:(widget_t)widget {
22 - (_Bool)testWidget:(widget_t)widget {
23 return [self withWidget:widget];
28 // CHECK-LABEL: msgSend.call:
29 // CHECK: [[CALL:%[^ ]+]] = call i1 @objc_msgSend
30 // CHECK-NEXT: br label %msgSend.cont
32 // CHECK-LABEL: msgSend.null-receiver:
33 // CHECK: br label %msgSend.cont
35 // CHECK-LABEL: msgSend.cont:
36 // CHECK-NEXT: {{%[^ ]+}} = phi i1 [ [[CALL]], %msgSend.call ], [ false, %msgSend.null-receiver ]