[all-commits] [llvm/llvm-project] 42d2ae: [InstCombine] Combine ptrauth constant callee into...

Ahmed Bougacha via All-commits all-commits at lists.llvm.org
Tue Jul 15 13:37:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42d2ae1034b287eb60563c370dbf52c59b66db20
      https://github.com/llvm/llvm-project/commit/42d2ae1034b287eb60563c370dbf52c59b66db20
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    A llvm/test/Transforms/InstCombine/ptrauth-call.ll

  Log Message:
  -----------
  [InstCombine] Combine ptrauth constant callee into bundle. (#94706)

Try to optimize a call to a ptrauth constant, into its ptrauth bundle:
    call(ptrauth(f)), ["ptrauth"()] ->  call f
as long as the key/discriminator are the same in constant and bundle.



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