strength reduce this call away.

llvm-svn: 92253
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index abb78f0..d497471 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -1090,7 +1090,8 @@
       CI->replaceAllUsesWith(NewCall);
 
     // Copy any custom metadata attached with CI.
-    CI->getContext().getMetadata().copyMD(CI, NewCall);
+    if (llvm::MDNode *DbgNode = CI->getMetadata("dbg"))
+      NewCall->setMetadata("dbg", DbgNode);
     CI->eraseFromParent();
   }
 }