[all-commits] [llvm/llvm-project] 1288fe: SafeStack: Respect alloca addrspace

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Oct 25 17:14:10 PDT 2024


  Branch: refs/heads/users/arsenm/safestack-respect-alloca-addrspace
  Home:   https://github.com/llvm/llvm-project
  Commit: 1288feeade12374c9498d75a6ed7d5c25adc196a
      https://github.com/llvm/llvm-project/commit/1288feeade12374c9498d75a6ed7d5c25adc196a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-25 (Fri, 25 Oct 2024)

  Changed paths:
    M llvm/lib/CodeGen/SafeStack.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    A llvm/test/Transforms/SafeStack/X86/alloca-addrspace.ll

  Log Message:
  -----------
  SafeStack: Respect alloca addrspace

Just insert addrspacecast in cases where the alloca uses a
different address space, since I don't know what else you
could possibly do.


  Commit: 5a513a1d6a89448d8bf6c92f80c8d523454214b0
      https://github.com/llvm/llvm-project/commit/5a513a1d6a89448d8bf6c92f80c8d523454214b0
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-25 (Fri, 25 Oct 2024)

  Changed paths:
    A llvm/test/Transforms/SafeStack/X86/alloca-addrspace-wrong-addrspace-error.ll

  Log Message:
  -----------
  Add test for wrong declaration type for __safestack_unsafe_stack_ptr


  Commit: 7b14ed4dc701e56e3c9c75a8caa1bcb69c888073
      https://github.com/llvm/llvm-project/commit/7b14ed4dc701e56e3c9c75a8caa1bcb69c888073
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-25 (Fri, 25 Oct 2024)

  Changed paths:
    A llvm/test/Transforms/SafeStack/X86/alloca-addrspace-wrong-addrspace.ll

  Log Message:
  -----------
  Add test where cast is inserted


Compare: https://github.com/llvm/llvm-project/compare/ae4b8ad106a5...7b14ed4dc701

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