[all-commits] [llvm/llvm-project] a87d3b: Reapply: StackProtector: ignore debug insts when s...

Tim Northover via All-commits all-commits at lists.llvm.org
Mon Feb 14 02:58:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a87d3ba61c64bf957f2f9369e4d076cbbf3d486f
      https://github.com/llvm/llvm-project/commit/a87d3ba61c64bf957f2f9369e4d076cbbf3d486f
  Author: Tim Northover <tnorthover at apple.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenCommonISel.cpp
    A llvm/test/CodeGen/AArch64/tailcall-ssp-split-debug.ll
    A llvm/test/CodeGen/X86/tailcall-ssp-split-debug.ll

  Log Message:
  -----------
  Reapply: StackProtector: ignore debug insts when splitting blocks.

When deciding where to split a block to insert stack guard checks, we should
move past any debug instructions we see that might (e.g.) be separating a tail
call from its frame wrangling.

This time, also don't run off the front of a basic block.




More information about the All-commits mailing list