[all-commits] [llvm/llvm-project] 0b8711: [GlobalISel] GISelKnownBits::computeKnownBitsImpl ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Nov 4 09:26:05 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b8711e1af97d6c82dc9d25c12c5a06af060cc56
      https://github.com/llvm/llvm-project/commit/0b8711e1af97d6c82dc9d25c12c5a06af060cc56
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp

  Log Message:
  -----------
  [GlobalISel] GISelKnownBits::computeKnownBitsImpl - Replace TargetOpcode::G_MUL handling with the common KnownBits::computeForMul implementation

Avoid code duplication


  Commit: ecbd0413af5abdb08046b50f526da4722aafff2b
      https://github.com/llvm/llvm-project/commit/ecbd0413af5abdb08046b50f526da4722aafff2b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M llvm/lib/Support/KnownBits.cpp

  Log Message:
  -----------
  [KnownBits] KnownBits::computeForMul - avoid unnecessary APInt copies. NFCI.

Use const references instead.


Compare: https://github.com/llvm/llvm-project/compare/3ebcef4b7377...ecbd0413af5a


More information about the All-commits mailing list