Modify the LLVM assembly output so that it uses references to represent function...
[oota-llvm.git] / test / Transforms / ObjCARC / weak-copies.ll
index e1a94bb4749a6136545adc619b5c4aab550d9a4a..b576295e112d124f69ec0f731d6c322830a632a2 100644 (file)
@@ -39,7 +39,7 @@ entry:
 
 ; Eliminate unnecessary weak pointer copies in a block initialization.
 
-; CHECK:      define void @qux(i8* %me) nounwind {
+; CHECK:      define void @qux(i8* %me) #0 {
 ; CHECK-NEXT: entry:
 ; CHECK-NEXT:   %block = alloca %1, align 8
 ; CHECK-NOT:    alloca
@@ -84,4 +84,6 @@ declare i8* @objc_loadWeak(i8**)
 declare void @use(i8*) nounwind
 declare void @objc_destroyWeak(i8**)
 
+; CHECK: attributes #0 = { nounwind }
+
 !0 = metadata !{}