15 lines · plain
1; Test upgrade of clang.arc.use by upgrading to llvm.objc.clang.arc.use.2; Bitcode input generated from llvm 6.03 4; RUN: llvm-dis %s.bc -o - | FileCheck %s5 6%0 = type opaque7define void @foo() {8 %1 = tail call %0* @foo0()9; CHECK: call void (...) @llvm.objc.clang.arc.use(10 call void (...) @clang.arc.use(%0* %1)11 ret void12}13declare %0* @foo0()14declare void @clang.arc.use(...)15