[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Apr 7 13:32:01 PDT 2004


Changes in directory llvm/lib/Target/SparcV9:

SparcV9PreSelection.cpp updated: 1.31 -> 1.32

---
Log message:

Fix insertion of SelectInsts.


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp:1.31 llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp:1.32
--- llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp:1.31	Sun Apr  4 15:44:05 2004
+++ llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp	Wed Apr  7 13:31:47 2004
@@ -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





More information about the llvm-commits mailing list