You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
382 B
15 lines
382 B
; Test upgrade of clang.arc.use by upgrading to llvm.objc.clang.arc.use.
|
|
; 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()
|
|
; CHECK: call void (...) @llvm.objc.clang.arc.use(
|
|
call void (...) @clang.arc.use(%0* %1)
|
|
ret void
|
|
}
|
|
declare %0* @foo0()
|
|
declare void @clang.arc.use(...)
|