[PATCH] D56772: [MIR] Add simple PRE pass to MachineCSE

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 06:26:36 PDT 2019


anton-afanasyev marked an inline comment as done.
anton-afanasyev added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineCSE.cpp:784
+    MachineInstr *MI = &*I;
+    ++I;
+
----------------
RKSimon wrote:
> Very minor - but why can't the ++I be moved inside the for-loop increment statement?
It can, I'm to fix it, thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D56772





More information about the llvm-commits mailing list