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
This commit is contained in:
Reid Spencer 2007-04-05 01:20:18 +00:00
parent addd11d98e
commit 3f108cb555

View 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,