[all-commits] [llvm/llvm-project] bddd9b: [InstCombine] Combine ptrauth sign/resign + auth/r...

Ahmed Bougacha via All-commits all-commits at lists.llvm.org
Mon Oct 24 08:03:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bddd9b6b91ae4f042d12b083f1ab4e42f9f910b3
      https://github.com/llvm/llvm-project/commit/bddd9b6b91ae4f042d12b083f1ab4e42f9f910b3
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

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

  Log Message:
  -----------
  [InstCombine] Combine ptrauth sign/resign + auth/resign intrinsics.

(sign|resign) + (auth|resign) can be folded by omitting the middle
sign+auth component if the key and discriminator match.

Differential Revision: https://reviews.llvm.org/D132383




More information about the All-commits mailing list