[PATCH] D79872: [MachineVerifier] Use the for Range loop to instead llvm::any_of

Zhang Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 13 10:17:24 PDT 2020


ZhangKang marked 2 inline comments as done.
ZhangKang added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:172
+        bool Changed = false;
+        for (const auto &I: RS)
+          Changed |= addRequired(I);
----------------
MaskRay wrote:
> s/const auto &/unsigned/
Done.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79872/new/

https://reviews.llvm.org/D79872





More information about the llvm-commits mailing list