[all-commits] [llvm/llvm-project] edcc7f: [LVI] Reuse LatticeValue to ConstantRange conversi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Dec 12 05:42:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edcc7fe9aae54221b80631f5441354a04ad40b3b
      https://github.com/llvm/llvm-project/commit/edcc7fe9aae54221b80631f5441354a04ad40b3b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M llvm/lib/Analysis/LazyValueInfo.cpp

  Log Message:
  -----------
  [LVI] Reuse LatticeValue to ConstantRange conversion more

Use the helper in the getConstantRange() and
getConstantRangeAtUse() APIs as well. For that purpose move the
handling of isUnknown() into the helper as well.




More information about the All-commits mailing list