Don't eliminate memcpy's when the address of the pointer may itself be relevant....
[oota-llvm.git] / test / Transforms / MemCpyOpt / 2008-03-13-ReturnSlotBitcast.ll
index 597b69dee3d4a899f45a01d7d7345a9f95633c64..6982c8bf2f8525cd617432e74e65f68b616df017 100644 (file)
@@ -4,7 +4,7 @@ target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f3
 %a = type { i32 }
 %b = type { float }
 
-declare void @g(%a*)
+declare void @g(%a* nocapture)
 
 define float @f() {
 entry: