1 // RUN: %clang_cc1 -triple arm64e-apple-ios15.0.0 -emit-llvm-bc -fobjc-arc -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s
8 @interface NSObject <NSObject>
11 @interface WidgetTester : NSObject
14 @implementation WidgetTester
20 - (_Bool)withWidget:(widget_t)widget {
24 - (_Bool)testWidget:(widget_t)widget {
25 return [self withWidget:widget];
30 // CHECK-LABEL: msgSend.call:
31 // CHECK: [[CALL:%[^ ]+]] = call i1 bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to
32 // CHECK-NEXT: br label %msgSend.cont
34 // CHECK-LABEL: msgSend.null-receiver:
35 // CHECK: br label %msgSend.cont
37 // CHECK-LABEL: msgSend.cont:
38 // CHECK-NEXT: {{%[^ ]+}} = phi i1 [ [[CALL]], %msgSend.call ], [ false, %msgSend.null-receiver ]