[all-commits] [llvm/llvm-project] 05290e: InstCombine] collectBitParts - cleanup variable na...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Sep 30 05:39:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 05290eead3f95e02700890321ccf6719770f91fe
      https://github.com/llvm/llvm-project/commit/05290eead3f95e02700890321ccf6719770f91fe
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  InstCombine] collectBitParts - cleanup variable names. NFCI.

Fix a number of WShadow warnings (I was used as the instruction and index......) and fix cases to match style.

Also, replaced the Bit APInt mask check in AND instructions with a direct APInt[] bit check.


  Commit: 413b4998bd722ab671e29e6dff5d458d1869f39b
      https://github.com/llvm/llvm-project/commit/413b4998bd722ab671e29e6dff5d458d1869f39b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  [InstCombine] recognizeBSwapOrBitReverseIdiom - use ArrayRef::back() helper. NFCI.

Post-commit feedback on D88316


Compare: https://github.com/llvm/llvm-project/compare/0eab9d582381...413b4998bd72


More information about the All-commits mailing list