[all-commits] [llvm/llvm-project] e2e44c: [SelectionDAG] Use KnownBits::insertBits instead o...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jul 3 08:34:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2e44c3da93c0c8b6e1322dcfbcd9fb18ac702eb
      https://github.com/llvm/llvm-project/commit/e2e44c3da93c0c8b6e1322dcfbcd9fb18ac702eb
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-07-03 (Sat, 03 Jul 2021)

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

  Log Message:
  -----------
  [SelectionDAG] Use KnownBits::insertBits instead of separate APInt::insertBits calls. NFC.


  Commit: 80dd591610cbdd9f5898f138a4b8df7543ef44ff
      https://github.com/llvm/llvm-project/commit/80dd591610cbdd9f5898f138a4b8df7543ef44ff
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-07-03 (Sat, 03 Jul 2021)

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

  Log Message:
  -----------
  [SelectionDAG] Replace APInt.lshr().trunc() with APInt.extractBits() where possible. NFC.

This also allows us to use KnownBits::extractBits in one case.


Compare: https://github.com/llvm/llvm-project/compare/e91440628e77...80dd591610cb


More information about the All-commits mailing list