[all-commits] [llvm/llvm-project] 24fe1d: [SCCP] Infer return attributes in SCCP as well (#1...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Sep 2 02:44:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24fe1d4fd61983277c8061ce591970bc775a0fb5
      https://github.com/llvm/llvm-project/commit/24fe1d4fd61983277c8061ce591970bc775a0fb5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M clang/test/CodeGen/attr-counted-by.c
    M llvm/include/llvm/Transforms/Utils/SCCPSolver.h
    M llvm/lib/Transforms/IPO/SCCP.cpp
    M llvm/lib/Transforms/Scalar/SCCP.cpp
    M llvm/lib/Transforms/Utils/SCCPSolver.cpp
    M llvm/test/Transforms/PhaseOrdering/icmp-ashr-breaking-select-idiom.ll
    M llvm/test/Transforms/SCCP/exact-flags.ll
    M llvm/test/Transforms/SCCP/phis.ll
    M llvm/test/Transforms/SCCP/pointer-nonnull.ll

  Log Message:
  -----------
  [SCCP] Infer return attributes in SCCP as well (#106732)

We can infer the range/nonnull attributes in non-interprocedural SCCP as
well. The results may be better after the function has been simplified.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list