Make the most commonly preselected instructions add to the names of the
instructions they augment, instead of replacing them.  It's good for debugging,
and it's OK for the sparcv9 backend.

llvm-svn: 14353
diff --git a/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp b/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
index a5c3f0f..00cfd12 100644
--- a/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
+++ b/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
@@ -91,7 +91,7 @@
   return (isa<GlobalVariable>(ptr))
     ? new GetElementPtrInst(ptr,
                     std::vector<Value*>(1, ConstantSInt::get(Type::LongTy, 0U)),
-                    "addrOfGlobal", &insertBefore)
+                    "addrOfGlobal:" + ptr->getName(), &insertBefore)
     : NULL;
 }
 
@@ -123,7 +123,7 @@
         getArg1 = gep;
       return new GetElementPtrInst(getArg1,
                           std::vector<Value*>(CE->op_begin()+1, CE->op_end()),
-                          "constantGEP", &insertBefore);
+                          "constantGEP:" + getArg1->getName(), &insertBefore);
                           
     case Instruction::Select: {
       Value *C, *S1, *S2;