Change the bit_part_select (non)implementation from "return 0" to abort.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 5 Apr 2007 01:20:18 +0000 (01:20 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 5 Apr 2007 01:20:18 +0000 (01:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35679 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 1bd2aae715ee7d3ced0542e463db160f074404a8..f824950d4643789d1694f1f3c25b1ba5712c8a88 100644 (file)
@@ -2439,9 +2439,11 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
     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,