[PATCH] D34862: [CGP] Relax a bit restriction for optimizeMemoryInst to extend scope

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 12:24:28 PDT 2017


efriedma added inline comments.


================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:4241
+      if (&BBI == BI)
+        return true;
+    }
----------------
This is quadratic in the number of instruction in the BB.


https://reviews.llvm.org/D34862





More information about the llvm-commits mailing list