From 85460acfbf41d360ccf36a149f2ca2ca927f4308 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 5 Apr 2007 01:20:18 +0000 Subject: [PATCH] Change the bit_part_select (non)implementation from "return 0" to abort. llvm-svn: 35679 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1bd2aae715ee..f824950d4643 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/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, -- GitLab