[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / GlobalISel / call-lowering-const-bitcast-func.ll
blobff813e54fa9d0b3750b3cdc7837a7f00bb0cc15a
1 ; RUN: llc -O0 -global-isel -verify-machineinstrs %s -o - 2>&1 | FileCheck %s
3 target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
4 target triple = "aarch64-darwin-ios13.0"
6 declare ptr @objc_msgSend(ptr, ptr, ...)
7 define void @call_bitcast_ptr_const() {
8 ; CHECK-LABEL: @call_bitcast_ptr_const
9 ; CHECK: bl _objc_msgSend
10 ; CHECK-NOT: blr
11 entry:
12   call void @objc_msgSend(ptr undef, ptr undef, [2 x i32] zeroinitializer, i32 0, float 1.000000e+00)
13   ret void