[all-commits] [llvm/llvm-project] a8c6fb: [MemCpyOpt] Fix lifetime marker sizes in tests (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jun 12 02:55:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8c6fb4cb8e686f733e022afc549bc085d1558f4
      https://github.com/llvm/llvm-project/commit/a8c6fb4cb8e686f733e022afc549bc085d1558f4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-06-12 (Thu, 12 Jun 2025)

  Changed paths:
    M llvm/test/Analysis/ScopedNoAliasAA/alias-scope-merging.ll
    M llvm/test/Transforms/MemCpyOpt/callslot_badaa.ll

  Log Message:
  -----------
  [MemCpyOpt] Fix lifetime marker sizes in tests (NFC)

As pointed out in https://github.com/llvm/llvm-project/pull/143782,
these tests were specifying the size in bits instead of bytes.

In order to preserve the intent of the tests, add a use of %src,
which prevents stack-move optimization. These are supposed to test
the handling of scoped alias metadata in call slot optimization.



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