[all-commits] [llvm/llvm-project] 5753ee: [LICM] Avoid assertion failure on stale MemoryDef

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Aug 19 01:26:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5753ee2434de77394b4fe597dac77abac6d95add
      https://github.com/llvm/llvm-project/commit/5753ee2434de77394b4fe597dac77abac6d95add
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-08-19 (Tue, 19 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    A llvm/test/Transforms/LICM/hoist-readonly-memory-def.ll

  Log Message:
  -----------
  [LICM] Avoid assertion failure on stale MemoryDef

It can happen that the call is originally created as a MemoryDef,
and then later transforms show it is actually read-only and could
be a MemoryUse -- however, this is not guaranteed to be reflected
in MSSA.



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