[PATCH] D142579: [llvm][NFC] Rename variables to match style guide in Local.cpp

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 15:18:16 PST 2023


paulkirth marked an inline comment as done.
paulkirth added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/Local.cpp:226
           // TODO: Add overflow check.
-          Weights[0] += Weights[idx+1];
           // Remove weight for this case.
----------------
aeubanks wrote:
> if you're here, might as well clang-format the changed lines
Good suggestion. I thought the linter would catch that, but I guess not.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142579



More information about the llvm-commits mailing list