[all-commits] [llvm/llvm-project] 27f0f8: [GVN] Preserve scoped-alias metadata on coerced lo...

Madhur Amilkanthwar via All-commits all-commits at lists.llvm.org
Mon Jun 29 02:49:35 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27f0f834f0c1136a81452ca0f171352117ba8198
      https://github.com/llvm/llvm-project/commit/27f0f834f0c1136a81452ca0f171352117ba8198
  Author: Madhur Amilkanthwar <madhura at nvidia.com>
  Date:   2026-06-29 (Mon, 29 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/test/Transforms/GVN/rle-coerced-noalias.ll

  Log Message:
  -----------
  [GVN] Preserve scoped-alias metadata on coerced loads (#206417)

When forwarding a wider load to a narrower load at an offset, GVN drops
the wider load's metadata. !noalias and !alias.scope are independent of
the load type and offset, and the wider load is not moved and still
accesses the same memory, so they remain valid and are now kept instead
of dropped.



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