Fix insertion of SelectInsts.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12760 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SparcV9/SparcV9PreSelection.cpp b/lib/Target/SparcV9/SparcV9PreSelection.cpp
index 2677d4c..2c265a9 100644
--- a/lib/Target/SparcV9/SparcV9PreSelection.cpp
+++ b/lib/Target/SparcV9/SparcV9PreSelection.cpp
@@ -136,7 +136,7 @@
       S2 = CE->getOperand (2);
       if (ConstantExpr* CEarg = dyn_cast<ConstantExpr> (S2))
         S2 = DecomposeConstantExpr (CEarg, insertBefore);
-      return new SelectInst (C, S1, S2);
+      return new SelectInst (C, S1, S2, "constantSelect", &insertBefore);
     }
     
     default:                            // must be a binary operator