[all-commits] [llvm/llvm-project] 88523f: [DAG] getNode(ISD::EXTRACT_SUBVECTOR) Drop unneces...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Oct 21 04:10:28 PDT 2020


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [DAG] getNode(ISD::EXTRACT_SUBVECTOR) Drop unnecessary N2C null check - we assert that this isn't null and have already used the pointer. NFCI.

Fixes cppcheck + null dereference warning.


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

  Log Message:
  -----------
  [InstCombine] foldOrOfICmps - use m_Specific instead of explicit comparisons. NFCI.


Compare: https://github.com/llvm/llvm-project/compare/9a2d2bedb730...7b4a828452f4


More information about the All-commits mailing list