Handle the memory clobber.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46780 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Basic/TargetInfo.cpp b/Basic/TargetInfo.cpp
index 77efe60..fc6976a 100644
--- a/Basic/TargetInfo.cpp
+++ b/Basic/TargetInfo.cpp
@@ -328,6 +328,9 @@
 {
   assert(isValidGCCRegisterName(Name) && "Invalid register passed in");
   
+  if (strcmp(Name, "memory") == 0)
+    return "~{memory}";
+    
   const char * const *Names;
   unsigned NumNames;