[all-commits] [llvm/llvm-project] 7353be: [DAG] SelectionDAG::computeKnownBits - use APInt::...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jun 18 07:22:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7353beda4aa13187d1c9ba03015589272b157c61
      https://github.com/llvm/llvm-project/commit/7353beda4aa13187d1c9ba03015589272b157c61
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-06-18 (Fri, 18 Jun 2021)

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

  Log Message:
  -----------
  [DAG] SelectionDAG::computeKnownBits - use APInt::insertBits to merge subvector knownbits. NFCI.

As noticed on D104472 we can use APInt::insertBits which will avoid a lot of temporary APInt creations




More information about the All-commits mailing list