[PATCH] D78010: [CodeGen] Add new function unionImplicitOps() to union implicit register

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 01:33:42 PDT 2020


steven.zhang added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineInstr.cpp:1436
+  SmallSet<Register, 8> ImpRegSet;
+  for (unsigned i = getDesc().getNumOperands(), e = getNumOperands();
+       i != e; ++i) {
----------------
Can we use the for range ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78010





More information about the llvm-commits mailing list