[all-commits] [llvm/llvm-project] 4b5b36: [GVN] Avoid creating lifetime of non-alloca

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Aug 4 03:07:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b5b36e5c4b887a86fc7164d6899caaa2e2f5aed
      https://github.com/llvm/llvm-project/commit/4b5b36e5c4b887a86fc7164d6899caaa2e2f5aed
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-08-04 (Mon, 04 Aug 2025)

  Changed paths:
    M llvm/lib/Analysis/Loads.cpp
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/test/Transforms/GVN/lifetime-simple.ll

  Log Message:
  -----------
  [GVN] Avoid creating lifetime of non-alloca

There is a larger problem here in that we should not be performing
arbitrary pointer replacements for assumes. This is handled for
branches, but assume goes through a different code path.

Fixes https://github.com/llvm/llvm-project/issues/151785.



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