Fix insertion of SelectInsts.

llvm-svn: 12760
This commit is contained in:
Brian Gaeke 2004-04-07 18:31:47 +00:00
parent 85521d70dd
commit 8931345fe5
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ static Instruction* DecomposeConstantExpr(ConstantExpr* CE,
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