[all-commits] [llvm/llvm-project] 0f4d9f: [ConstantRange] Improve the implementation of bina...

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Tue May 17 15:07:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f4d9f9b71be8a95cd24534bf914fc9a6fb0ff30
      https://github.com/llvm/llvm-project/commit/0f4d9f9b71be8a95cd24534bf914fc9a6fb0ff30
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2022-05-17 (Tue, 17 May 2022)

  Changed paths:
    M llvm/lib/IR/ConstantRange.cpp
    M llvm/test/Transforms/SCCP/range-and.ll
    M llvm/unittests/IR/ConstantRangeTest.cpp

  Log Message:
  -----------
  [ConstantRange] Improve the implementation of binaryAnd

This diff adjusts binaryAnd to take advantage of the analysis
based on KnownBits.

Differential revision: https://reviews.llvm.org/D125603

Test plan:
1/ ninja check-llvm
2/ ninja check-llvm-unit




More information about the All-commits mailing list