Re-enable 91381 with fixes.
[oota-llvm.git] / lib / Analysis / ValueTracking.cpp
index 22c6e3b6f121145c7579d87186e6072106b4bc23..acd3119abea8c1ee81c0b886a337365a41be6175 100644 (file)
@@ -1369,11 +1369,6 @@ bool llvm::GetConstantStringInfo(Value *V, std::string &Str, uint64_t Offset,
                                  StopAtNul);
   }
   
-  if (MDString *MDStr = dyn_cast<MDString>(V)) {
-    Str = MDStr->getString();
-    return true;
-  }
-
   // The GEP instruction, constant or instruction, must reference a global
   // variable that is a constant and is initialized. The referenced constant
   // initializer is the array that we'll use for optimization.