[all-commits] [llvm/llvm-project] 0905bd: [InstCombine] collectBitParts - add trunc support.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Oct 27 06:20:54 PDT 2020


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

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

  Log Message:
  -----------
  [InstCombine] collectBitParts - add trunc support.

This should allow us to remove the rather limited matchOrConcat fold and just use recognizeBSwapOrBitReverseIdiom.


  Commit: 5a855551cb6fedfb3027b4de4172a962d04834ce
      https://github.com/llvm/llvm-project/commit/5a855551cb6fedfb3027b4de4172a962d04834ce
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/vec_shift.ll
    M llvm/test/CodeGen/X86/vec_shift2.ll
    M llvm/test/CodeGen/X86/vec_shift3.ll
    M llvm/test/CodeGen/X86/vec_shift4.ll
    M llvm/test/CodeGen/X86/vec_shift5.ll
    M llvm/test/CodeGen/X86/vec_shift6.ll
    M llvm/test/CodeGen/X86/vec_shift7.ll
    M llvm/test/CodeGen/X86/vshift-1.ll
    M llvm/test/CodeGen/X86/vshift-2.ll
    M llvm/test/CodeGen/X86/vshift-3.ll
    M llvm/test/CodeGen/X86/vshift-4.ll
    M llvm/test/CodeGen/X86/vshift-5.ll
    M llvm/test/CodeGen/X86/vshift-6.ll
    M llvm/test/CodeGen/X86/vshift_split.ll
    M llvm/test/CodeGen/X86/vshift_split2.ll
    M llvm/test/CodeGen/X86/x86-shifts.ll

  Log Message:
  -----------
  [X86] Regenerate vector shift tests. NFCI.

Merge prefixes where possible, use 'X86' instead of 'X32' (which we try to only use for gnux32 triple tests).


  Commit: 2bc2e2e9fe25c5568cfb8681e441fcc6a194daa4
      https://github.com/llvm/llvm-project/commit/2bc2e2e9fe25c5568cfb8681e441fcc6a194daa4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp

  Log Message:
  -----------
  [MallocChecker] Remove duplicate QCoreApplication::postEvent check. NFCI.

This appears to have been in the original patch in D14170.

Reported as "Snippet 11" in https://www.viva64.com/en/b/0771/


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

  Changed paths:
    M clang/lib/Frontend/Rewrite/RewriteObjC.cpp

  Log Message:
  -----------
  [clang] RewriteObjCClassMetaData - remove superfluous null pointer check. NFCI.

We've already dereferenced the pointer and no other getClassInterface() calls appear to bother with such a check.

Reported as "Snippet 6" in https://www.viva64.com/en/b/0771/


Compare: https://github.com/llvm/llvm-project/compare/e562a40871da...b19473cf590e


More information about the All-commits mailing list