mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 04:45:00 +00:00
The type of the 'abort' node should be pointer type (because
it's a function pointer) not MVT::Other. This fixes builtin_trap lowering on ppc, alpha, ia64 llvm-svn: 46018
This commit is contained in:
parent
6846e346a8
commit
bcb087fd62
@ -3752,7 +3752,8 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
||||
TargetLowering::ArgListTy Args;
|
||||
std::pair<SDOperand,SDOperand> CallResult =
|
||||
TLI.LowerCallTo(Tmp1, Type::VoidTy, false, false, CallingConv::C, false,
|
||||
DAG.getExternalSymbol("abort", MVT::Other), Args, DAG);
|
||||
DAG.getExternalSymbol("abort", TLI.getPointerTy()),
|
||||
Args, DAG);
|
||||
Result = CallResult.second;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user