[PATCH] D34144: [CodeGen] Add generic MacroFusion pass.

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 08:13:44 PDT 2017

evandro added inline comments.

Comment at: lib/CodeGen/MacroFusion.cpp:122
+      // prevent them from being scheduled between FirstSU and and SecondSU.
+      for (SUnit::const_succ_iterator
+             SI = FirstSU.Succs.begin(), SE = FirstSU.Succs.end();
How about using the C++11 range based for loop here?


More information about the llvm-commits mailing list