mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Turn abort() into unreachable
llvm-svn: 76314
This commit is contained in:
parent
b3e0446dbb
commit
a806bf16c4
@ -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