brintos

brintos / llvm-project-archived public Read only

0
0
Text · 622 B · 944b982 Raw
22 lines · plain
1target triple = "arm64-apple-ios7.0"2 3; RUN: llvm-dis < %S/upgrade-arc-runtime-calls-bitcast.bc | FileCheck %s4 5; CHECK: tail call ptr @objc_retain(i32 1)6; CHECK: tail call ptr @objc_storeStrong(7 8define void @testRuntimeCalls(i8* %a, i8** %b) {9  %v6 = tail call i8* @objc_retain(i32 1)10  %1 = tail call i8* @objc_storeStrong(i8** %b, i8* %a)11  ret void12}13 14declare i8* @objc_retain(i32)15declare i8* @objc_storeStrong(i8**, i8*)16 17attributes #0 = { nounwind }18 19!llvm.module.flags = !{!0}20 21!0 = !{i32 1, !"clang.arc.retainAutoreleasedReturnValueMarker", !"mov\09fp, fp\09\09; marker for objc_retainAutoreleaseReturnValue"}22