summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/upgrade-clang-arc-use.ll
blob: db5481f06f6f1b90e53c4164b56f6a367a1692e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; Test upgrade of clang.arc.use by removing it.
; 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-NOT: clang.arc.use
  call void (...) @clang.arc.use(%0* %1)
  ret void
}
declare %0* @foo0()
declare void @clang.arc.use(...)
OpenPOWER on IntegriCloud