mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 06:30:39 +00:00
Turn abort() into unreachable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76314 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
31e874490a
commit
6d94eff354
@ -228,17 +228,19 @@ SDValue SystemZTargetLowering::LowerCCCArguments(SDValue Op,
|
||||
TargetRegisterClass *RC;
|
||||
switch (LocVT.getSimpleVT()) {
|
||||
default:
|
||||
#ifndef NDEBUG
|
||||
cerr << "LowerFORMAL_ARGUMENTS Unhandled argument type: "
|
||||
<< LocVT.getSimpleVT()
|
||||
<< "\n";
|
||||
abort();
|
||||
case MVT::i64:
|
||||
#endif
|
||||
llvm_unreachable(0);
|
||||
case MVT::i64:
|
||||
RC = SystemZ::GR64RegisterClass;
|
||||
break;
|
||||
case MVT::f32:
|
||||
case MVT::f32:
|
||||
RC = SystemZ::FP32RegisterClass;
|
||||
break;
|
||||
case MVT::f64:
|
||||
case MVT::f64:
|
||||
RC = SystemZ::FP64RegisterClass;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user