mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 23:29:22 +00:00
Remove a bunch of 'else's after 'returns'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170496 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
40b4a81ab0
commit
a1b3c03777
@ -428,29 +428,29 @@ RTLIB::Libcall RTLIB::getSINTTOFP(EVT OpVT, EVT RetVT) {
|
||||
if (OpVT == MVT::i32) {
|
||||
if (RetVT == MVT::f32)
|
||||
return SINTTOFP_I32_F32;
|
||||
else if (RetVT == MVT::f64)
|
||||
if (RetVT == MVT::f64)
|
||||
return SINTTOFP_I32_F64;
|
||||
else if (RetVT == MVT::f80)
|
||||
if (RetVT == MVT::f80)
|
||||
return SINTTOFP_I32_F80;
|
||||
else if (RetVT == MVT::ppcf128)
|
||||
if (RetVT == MVT::ppcf128)
|
||||
return SINTTOFP_I32_PPCF128;
|
||||
} else if (OpVT == MVT::i64) {
|
||||
if (RetVT == MVT::f32)
|
||||
return SINTTOFP_I64_F32;
|
||||
else if (RetVT == MVT::f64)
|
||||
if (RetVT == MVT::f64)
|
||||
return SINTTOFP_I64_F64;
|
||||
else if (RetVT == MVT::f80)
|
||||
if (RetVT == MVT::f80)
|
||||
return SINTTOFP_I64_F80;
|
||||
else if (RetVT == MVT::ppcf128)
|
||||
if (RetVT == MVT::ppcf128)
|
||||
return SINTTOFP_I64_PPCF128;
|
||||
} else if (OpVT == MVT::i128) {
|
||||
if (RetVT == MVT::f32)
|
||||
return SINTTOFP_I128_F32;
|
||||
else if (RetVT == MVT::f64)
|
||||
if (RetVT == MVT::f64)
|
||||
return SINTTOFP_I128_F64;
|
||||
else if (RetVT == MVT::f80)
|
||||
if (RetVT == MVT::f80)
|
||||
return SINTTOFP_I128_F80;
|
||||
else if (RetVT == MVT::ppcf128)
|
||||
if (RetVT == MVT::ppcf128)
|
||||
return SINTTOFP_I128_PPCF128;
|
||||
}
|
||||
return UNKNOWN_LIBCALL;
|
||||
@ -462,29 +462,29 @@ RTLIB::Libcall RTLIB::getUINTTOFP(EVT OpVT, EVT RetVT) {
|
||||
if (OpVT == MVT::i32) {
|
||||
if (RetVT == MVT::f32)
|
||||
return UINTTOFP_I32_F32;
|
||||
else if (RetVT == MVT::f64)
|
||||
if (RetVT == MVT::f64)
|
||||
return UINTTOFP_I32_F64;
|
||||
else if (RetVT == MVT::f80)
|
||||
if (RetVT == MVT::f80)
|
||||
return UINTTOFP_I32_F80;
|
||||
else if (RetVT == MVT::ppcf128)
|
||||
if (RetVT == MVT::ppcf128)
|
||||
return UINTTOFP_I32_PPCF128;
|
||||
} else if (OpVT == MVT::i64) {
|
||||
if (RetVT == MVT::f32)
|
||||
return UINTTOFP_I64_F32;
|
||||
else if (RetVT == MVT::f64)
|
||||
if (RetVT == MVT::f64)
|
||||
return UINTTOFP_I64_F64;
|
||||
else if (RetVT == MVT::f80)
|
||||
if (RetVT == MVT::f80)
|
||||
return UINTTOFP_I64_F80;
|
||||
else if (RetVT == MVT::ppcf128)
|
||||
if (RetVT == MVT::ppcf128)
|
||||
return UINTTOFP_I64_PPCF128;
|
||||
} else if (OpVT == MVT::i128) {
|
||||
if (RetVT == MVT::f32)
|
||||
return UINTTOFP_I128_F32;
|
||||
else if (RetVT == MVT::f64)
|
||||
if (RetVT == MVT::f64)
|
||||
return UINTTOFP_I128_F64;
|
||||
else if (RetVT == MVT::f80)
|
||||
if (RetVT == MVT::f80)
|
||||
return UINTTOFP_I128_F80;
|
||||
else if (RetVT == MVT::ppcf128)
|
||||
if (RetVT == MVT::ppcf128)
|
||||
return UINTTOFP_I128_PPCF128;
|
||||
}
|
||||
return UNKNOWN_LIBCALL;
|
||||
|
Loading…
Reference in New Issue
Block a user