2019-08-09 00:59:31 +08:00
|
|
|
; Test upgrade of clang.arc.use by upgrading to llvm.objc.clang.arc.use.
|
2019-03-08 13:27:53 +08:00
|
|
|
; Bitcode input generated from llvm 6.0
|
|
|
|
|
|
|
|
; RUN: llvm-dis %s.bc -o - | FileCheck %s
|
|
|
|
|
|
|
|
%0 = type opaque
|
|
|
|
define void @foo() {
|
|
|
|
%1 = tail call %0* @foo0()
|
2019-08-09 00:59:31 +08:00
|
|
|
; CHECK: call void (...) @llvm.objc.clang.arc.use(
|
2019-03-08 13:27:53 +08:00
|
|
|
call void (...) @clang.arc.use(%0* %1)
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
declare %0* @foo0()
|
|
|
|
declare void @clang.arc.use(...)
|