MDString is already checked earlier.

llvm-svn: 107516
This commit is contained in:
Devang Patel 2010-07-02 21:13:23 +00:00
parent 2df8a1f39c
commit cefe3831b7
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ Value *llvm::MapValue(const Value *V, ValueToValueMapTy &VM) {
if (isa<ConstantInt>(C) || isa<ConstantFP>(C) ||
isa<ConstantPointerNull>(C) || isa<ConstantAggregateZero>(C) ||
isa<UndefValue>(C) || isa<MDString>(C))
isa<UndefValue>(C))
return VMSlot = C; // Primitive constants map directly
if (ConstantArray *CA = dyn_cast<ConstantArray>(C)) {