[PATCH] D77160: Fix PR45371: SeparateConstOffsetFromGEP clean up bookkeeping

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 13:07:39 PDT 2020


bjope added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp:580
+
+  if (ConstantOffset == 0) {
+    // Reset the chain again, since exploring the RHS didn't work out either.
----------------
Coding style: You may skip the braces here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77160





More information about the llvm-commits mailing list