[PATCH] D146033: [AArch64][TTI] Cost model FADD/FSUB/FNEG
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 03:40:54 PDT 2023
SjoerdMeijer added a comment.
In D146033#4257518 <https://reviews.llvm.org/D146033#4257518>, @DavidSpickett wrote:
> FYI I got some warnings from this new code, using clang 14.0.5:
>
> /home/david.spickett/llvm-project/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:2421:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
> case ISD::FMUL:
> ^
> /home/david.spickett/llvm-project/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:2421:3: note: insert 'LLVM_FALLTHROUGH;' to silence this warning
> case ISD::FMUL:
> ^
> LLVM_FALLTHROUGH;
> /home/david.spickett/llvm-project/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:2421:3: note: insert 'break;' to avoid fall-through
> case ISD::FMUL:
> ^
> break;
>
> Though the existing code directly above also doesn't annotate it either, so if you feel like fixing it in another patch maybe do that.
Yep, thanks, I noticed it too and will recommit soon with the annotation included in the recommit because there is a bot that errors on it:
\https://lab.llvm.org/buildbot/#/builders/57/builds/25973
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146033/new/
https://reviews.llvm.org/D146033
More information about the llvm-commits
mailing list