[all-commits] [llvm/llvm-project] 89abe1: [InstCombine] foldICmpUsingKnownBits - use KnownBi...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Dec 24 06:22:50 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89abe1cf83a037e5e5c22d07d1b2bd456def5bbe
      https://github.com/llvm/llvm-project/commit/89abe1cf83a037e5e5c22d07d1b2bd456def5bbe
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-12-24 (Thu, 24 Dec 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

  Log Message:
  -----------
  [InstCombine] foldICmpUsingKnownBits - use KnownBits signed/unsigned getMin/MaxValue helpers. NFCI.

Replace the local compute*SignedMinMaxValuesFromKnownBits methods with the equivalent KnownBits helpers to determine the min/max value ranges.




More information about the All-commits mailing list