[all-commits] [llvm/llvm-project] 3cef3c: [DSE] Check for noalias calls rather than alloc fu...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jan 11 03:22:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3cef3cf02f09e397c471cf008060c89b34951959
      https://github.com/llvm/llvm-project/commit/3cef3cf02f09e397c471cf008060c89b34951959
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/test/Transforms/DeadStoreElimination/simple.ll

  Log Message:
  -----------
  [DSE] Check for noalias calls rather than alloc functions

For these "visible on unwind/ret" checks we only care about the
fact that no other code has access to the pointer (unless it
escapes). A noalias call is sufficient for this, it does not
have to be a known allocation function.

This is basically the same change as D116728, but for DSE rather
than LICM.




More information about the All-commits mailing list