[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Nate Begeman natebegeman at mac.com
Thu Jul 27 09:47:15 PDT 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.260 -> 1.261
---
Log message:

Code cleanups, per review


---
Diffs of the changes:  (+0 -2)

 SelectionDAGISel.cpp |    2 --
 1 files changed, 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.260 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.261
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.260	Wed Jul 26 20:13:04 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Thu Jul 27 11:46:58 2006
@@ -914,8 +914,6 @@
     double Density = (double)Cases.size() / (double)((Last - First) + 1ULL);
     
     if (Density >= 0.3125) {
-      Reloc::Model Relocs = TLI.getTargetMachine().getRelocationModel();
-      
       // Create a new basic block to hold the code for loading the address
       // of the jump table, and jumping to it.  Update successor information;
       // we will either branch to the default case for the switch, or the jump






More information about the llvm-commits mailing list