[all-commits] [llvm/llvm-project] 32bee1: [KnownBits] Move ValueTracking/SelectionDAG UDIV K...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Nov 5 05:43:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 32bee18b84226e817cba7d03abf60c4900fea5e1
      https://github.com/llvm/llvm-project/commit/32bee18b84226e817cba7d03abf60c4900fea5e1
  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 UDIV KnownBits handling to KnownBits::udiv. 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