[all-commits] [llvm/llvm-project] 758aa4: [CodeGen] Avoid sinking EH pad blocks (#224812)

Trung Nguyen via All-commits all-commits at lists.llvm.org
Fri Oct 2 17:57:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 758aa4a9246f29af8576fde6f7e8ce9a0317e13b
      https://github.com/llvm/llvm-project/commit/758aa4a9246f29af8576fde6f7e8ce9a0317e13b
  Author: Trung Nguyen <git at trungnt2910.com>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

  Changed paths:
    M llvm/lib/CodeGen/MachineSink.cpp
    A llvm/test/CodeGen/X86/postra-machine-sink-eh-pad.mir

  Log Message:
  -----------
  [CodeGen] Avoid sinking EH pad blocks (#224812)

EH pad blocks should not be sinkable since the control flow comes from
the unwinder instead of the predecessor.

This exclusion also matches the behavior of other sinkers.

Fixes #224802.



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