[llvm-commits] CVS:	llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    Reid Spencer 
    reid at x10sys.com
       
    Wed Apr  4 18:20:35 PDT 2007
    
    
  
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.403 -> 1.404
---
Log message:
Change the bit_part_select (non)implementation from "return 0" to abort.
---
Diffs of the changes:  (+5 -3)
 SelectionDAGISel.cpp |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.403 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.404
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.403	Wed Apr  4 18:48:25 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Wed Apr  4 20:20:18 2007
@@ -2439,9 +2439,11 @@
     return 0;
   }
   case Intrinsic::bit_part_select: {
-    MVT::ValueType Ty = getValue(I.getOperand(1)).getValueType();
-    setValue(&I, DAG.getTargetConstant(0, Ty));
-    return 0;
+    // MVT::ValueType Ty = getValue(I.getOperand(1)).getValueType();
+    // setValue(&I, DAG.getTargetConstant(0, Ty));
+    // Currently not implemented: just abort
+    assert(0 && "bit_part_select intrinsic not implemented");
+    abort();
   }
   case Intrinsic::bswap:
     setValue(&I, DAG.getNode(ISD::BSWAP,
    
    
More information about the llvm-commits
mailing list