From: Reid Spencer Date: Thu, 5 Apr 2007 01:20:18 +0000 (+0000) Subject: Change the bit_part_select (non)implementation from "return 0" to abort. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3f108cb5558a80a63711114d819358f19773c057;p=oota-llvm.git Change the bit_part_select (non)implementation from "return 0" to abort. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35679 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1bd2aae715e..f824950d464 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -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,