forked from OSchip/llvm-project
R600: Dump the function name when TargetLowering::LowerCall() fails
Also output a more useful error message. NOTE: This is a candidate for the Mesa stable branch llvm-svn: 174763
This commit is contained in:
parent
7370ede2cd
commit
47d4201348
|
@ -53,6 +53,11 @@ public:
|
|||
const SmallVectorImpl<ISD::OutputArg> &Outs,
|
||||
const SmallVectorImpl<SDValue> &OutVals,
|
||||
DebugLoc DL, SelectionDAG &DAG) const;
|
||||
virtual SDValue LowerCall(CallLoweringInfo &CLI,
|
||||
SmallVectorImpl<SDValue> &InVals) const {
|
||||
CLI.Callee.dump();
|
||||
llvm_unreachable("Undefined function");
|
||||
}
|
||||
|
||||
virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const;
|
||||
SDValue LowerIntrinsicIABS(SDValue Op, SelectionDAG &DAG) const;
|
||||
|
|
Loading…
Reference in New Issue