Imported Upstream version 5.18.0.182

Former-commit-id: f9d55cf82631bfd710c387739687e5845296aea1
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-10-26 08:32:15 +00:00
parent 8625704ad8
commit b716dc8d12
28490 changed files with 76 additions and 3866845 deletions

View File

@@ -1,14 +0,0 @@
; RUN: opt -objc-arc-contract -S < %s | FileCheck %s
declare i8* @objc_initWeak(i8**, i8*)
; Convert objc_initWeak(p, null) to *p = null.
; CHECK: define i8* @test0(i8** %p) {
; CHECK-NEXT: store i8* null, i8** %p
; CHECK-NEXT: ret i8* null
; CHECK-NEXT: }
define i8* @test0(i8** %p) {
%t = call i8* @objc_initWeak(i8** %p, i8* null)
ret i8* %t
}