Follow the same routine to add target float expansion hook
[oota-llvm.git] / lib / Bitcode / Writer / ValueEnumerator.cpp
index 1c4d670b27149854f4312d6e7ef4790db2d8befb..1ed9004eb5a16c0a173f246089796b6c8fe97483 100644 (file)
@@ -321,10 +321,6 @@ void ValueEnumerator::EnumerateValue(const Value *V) {
   if (const Constant *C = dyn_cast<Constant>(V)) {
     if (isa<GlobalValue>(C)) {
       // Initializers for globals are handled explicitly elsewhere.
-    } else if (isa<ConstantArray>(C) && cast<ConstantArray>(C)->isString()) {
-      // Do not enumerate the initializers for an array of simple characters.
-      // The initializers just pollute the value table, and we emit the strings
-      // specially.
     } else if (C->getNumOperands()) {
       // If a constant has operands, enumerate them.  This makes sure that if a
       // constant has uses (for example an array of const ints), that they are