[all-commits] [llvm/llvm-project] 5e8e89: TruncInstCombine.cpp - use auto * to fix llvm-qual...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Oct 2 09:25:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e8e89d814817fac19c5a93e4ed7910e97401a3f
      https://github.com/llvm/llvm-project/commit/5e8e89d814817fac19c5a93e4ed7910e97401a3f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp

  Log Message:
  -----------
  TruncInstCombine.cpp - use auto * to fix llvm-qualified-auto clang-tidy warning. NFCI.


  Commit: 0347f3ea720b16305d77449f9868255496e0b27c
      https://github.com/llvm/llvm-project/commit/0347f3ea720b16305d77449f9868255496e0b27c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp

  Log Message:
  -----------
  TruncInstCombine.cpp - fix header include ordering to fix llvm-include-order clang-tidy warning. NFCI.


  Commit: 3d14a1e982ad27111346471564d575ad5efc6419
      https://github.com/llvm/llvm-project/commit/3d14a1e982ad27111346471564d575ad5efc6419
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/Transforms/InstCombine/bswap.ll

  Log Message:
  -----------
  [InstCombine] recognizeBSwapOrBitReverseIdiom - support for 'partial' bswap patterns (PR47191)

If we're bswap'ing some bytes and zero'ing the remainder we can perform this as a bswap+mask which helps us match 'partial' bswaps as a first step towards folding into a more complex bswap pattern.

Differential Revision: https://reviews.llvm.org/D88578


Compare: https://github.com/llvm/llvm-project/compare/f19259495628...3d14a1e982ad


More information about the All-commits mailing list