[all-commits] [llvm/llvm-project] ce2f9b: [SCCP] Add helper for getting constant range (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Nov 9 03:42:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce2f9ba2c9354df84579dd00187e2fbb9215a0e9
      https://github.com/llvm/llvm-project/commit/ce2f9ba2c9354df84579dd00187e2fbb9215a0e9
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/SCCPSolver.cpp

  Log Message:
  -----------
  [SCCP] Add helper for getting constant range (NFC)

Add a helper for the recurring pattern of getting a constant range
if the value lattice element is one, or a full range otherwise.




More information about the All-commits mailing list