[all-commits] [llvm/llvm-project] b0d340: SROA: Recognize llvm.protected.field.ptr intrinsics.

Peter Collingbourne via All-commits all-commits at lists.llvm.org
Thu Dec 11 18:22:27 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0d340557841e0c3f72d19be89aebef2a8ce02e5
      https://github.com/llvm/llvm-project/commit/b0d340557841e0c3f72d19be89aebef2a8ce02e5
  Author: Peter Collingbourne <pcc at google.com>
  Date:   2025-12-11 (Thu, 11 Dec 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    A llvm/test/Transforms/SROA/protected-field-pointer.ll

  Log Message:
  -----------
  SROA: Recognize llvm.protected.field.ptr intrinsics.

When an alloc slice's users include llvm.protected.field.ptr intrinsics
and their discriminators are consistent, drop the intrinsics in order
to avoid unnecessary pointer sign and auth operations.

Reviewers: nikic

Reviewed By: nikic

Pull Request: https://github.com/llvm/llvm-project/pull/151650



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