1 // RUN: %clang_cc1 -emit-llvm -o - -fblocks %s -O1 -fno-inline-functions -triple x86_64-apple-darwin10.0.0 -fobjc-runtime=macosx-fragile-10.5 | FileCheck %s
14 // CHECK: define internal void @"\01-[NRVO getNRVO]"
17 // CHECK: call void @_ZN1XC1Ev
18 // CHECK-NEXT: ret void
25 // With the optimizer enabled, the DeadArgElim pass is able to
26 // mark the block litteral address argument as unused and later the
27 // related block_litteral global variable is removed.
28 // This allows to promote this call to a fastcc call.
29 // CHECK-LABEL: define internal fastcc void @___Z10blocksNRVOv_block_invoke
31 // CHECK: call void @_ZN1XC1Ev
32 // CHECK-NEXT: ret void