[PATCH] D112077: [NFC][LoopIdiom] Make for loops more readable

Dawid Jurczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 19 07:53:23 PDT 2021


yurai007 created this revision.
yurai007 added reviewers: lebedev.ri, spatel, xbolva00, zhuhan0, efriedma, hoy, craig.topper.
Herald added a subscriber: hiraditya.
yurai007 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Patch simplifies for loops in LIR following LLVM guidelines: https://llvm.org/docs/CodingStandards.html#use-range-based-for-loops-wherever-possible
and https://llvm.org/docs/CodingStandards.html#use-auto-type-deduction-to-make-code-more-readable.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112077

Files:
  llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112077.380694.patch
Type: text/x-patch
Size: 5854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211019/46317f4e/attachment.bin>


More information about the llvm-commits mailing list