1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[AArch64] Silence fallthrough warning. NFC.

AArch64TargetTransformInfo.cpp:302:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
  default:
    ^
This commit is contained in:
Benjamin Kramer 2021-06-10 17:23:37 +02:00
parent 83aebff64b
commit 4abec25573

View File

@ -298,6 +298,7 @@ AArch64TTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
return LegalisationCost.first * Entry->Cost + 1;
if (Entry)
return LegalisationCost.first * Entry->Cost;
break;
}
default:
break;