[PATCH] D151817: LoopVectorize: use [[fallthrough]] in one place
Ramkumar Ramachandra via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 31 09:42:40 PDT 2023
artagnon created this revision.
artagnon added reviewers: fhahn, reames.
Herald added subscribers: shiva0217, StephenFan, hiraditya.
Herald added a project: All.
artagnon requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.
Use [[fallthrough]] in place of the deprecated LLVM_FALLTHROUGH.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D151817
Files:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Index: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
===================================================================
--- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -8487,7 +8487,7 @@
Ops[1] = SafeRHS;
return new VPWidenRecipe(*I, make_range(Ops.begin(), Ops.end()));
}
- LLVM_FALLTHROUGH;
+ [[fallthrough]];
}
case Instruction::Add:
case Instruction::And:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151817.527091.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230531/68d07ff9/attachment.bin>
More information about the llvm-commits
mailing list