[all-commits] [llvm/llvm-project] 621c6c: [InstCombine] recognizeBSwapOrBitReverseIdiom - cl...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Sep 30 06:25:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 621c6c89627972d52796e64a9476a7d05f22f2cd
      https://github.com/llvm/llvm-project/commit/621c6c89627972d52796e64a9476a7d05f22f2cd
  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 - cleanup bswap/bitreverse detection loop. NFCI.

Early out if both pattern matches have failed (or we don't want them). Fix case of bit index iterator (and avoid Wshadow issue).


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/bswap.ll

  Log Message:
  -----------
  [InstCombine] Add PR47191 bswap tests


Compare: https://github.com/llvm/llvm-project/compare/3f88c10a6b25...08c5720405d5


More information about the All-commits mailing list