Emit argmemonly attribute for intrinsics.
[oota-llvm.git] / test / Transforms / MemCpyOpt / memcpy.ll
index 731847440d76fc30cef2195d6881dd0a8decbbd9..c091073db84db24181adf0d1c56b4908f7521071 100644 (file)
@@ -206,5 +206,6 @@ declare void @f1(%struct.big* nocapture sret)
 declare void @f2(%struct.big*)
 
 ; CHECK: attributes [[NUW]] = { nounwind }
-; CHECK: attributes #1 = { nounwind ssp }
-; CHECK: attributes #2 = { nounwind ssp uwtable }
+; CHECK: attributes #1 = { nounwind argmemonly }
+; CHECK: attributes #2 = { nounwind ssp }
+; CHECK: attributes #3 = { nounwind ssp uwtable }