aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-04-07 18:31:47 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-04-07 18:31:47 +0000
commit58fe7695b98de2743c6a2a6dd209e1c514f57fbc (patch)
tree95dae47b43a4f344c8155525184e1e270cbf3cfa
parent8005ed3bd7c9190e3e1bb474317b9fc4639e716a (diff)
Fix insertion of SelectInsts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12760 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SparcV9/SparcV9PreSelection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/SparcV9PreSelection.cpp b/lib/Target/SparcV9/SparcV9PreSelection.cpp
index 2677d4ce26..2c265a9238 100644
--- a/lib/Target/SparcV9/SparcV9PreSelection.cpp
+++ b/lib/Target/SparcV9/SparcV9PreSelection.cpp
@@ -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