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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 13 09:11:06 PDT 2020


MaskRay added inline comments.


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


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