[all-commits] [llvm/llvm-project] e237d5: [KnownBits] Move ValueTracking/SelectionDAG UREM K...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Nov 5 06:31:30 PST 2020


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

  Changed paths:
    M llvm/include/llvm/Support/KnownBits.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/Support/KnownBits.cpp
    M llvm/unittests/Support/KnownBitsTest.cpp

  Log Message:
  -----------
  [KnownBits] Move ValueTracking/SelectionDAG UREM KnownBits handling to KnownBits::urem. NFCI.

Both these have the same implementation - so move them to a single KnownBits copy.

GlobalISel will be able to use this as well with minimal effort.




More information about the All-commits mailing list