[all-commits] [llvm/llvm-project] 180861: [unroll] Remove two dead variable assignments [nfc]

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Nov 23 09:12:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18086186ab5ac7698db0fbc45c58cff2a7747da6
      https://github.com/llvm/llvm-project/commit/18086186ab5ac7698db0fbc45c58cff2a7747da6
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-11-23 (Tue, 23 Nov 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp

  Log Message:
  -----------
  [unroll] Remove two dead variable assignments [nfc]

These variables are not out-params, and we immediately return after assigning them.  Thus, the assignments are dead and just confusing.

I believe these used to be out-params, but they're not any more.




More information about the All-commits mailing list