[all-commits] [llvm/llvm-project] 4c9931: CodeGen: Respect the exception-model module flag i...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Sep 24 01:44:14 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c9931d4af3c2dc86eb061057c6e2383466250ee
      https://github.com/llvm/llvm-project/commit/4c9931d4af3c2dc86eb061057c6e2383466250ee
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/SjLjEHPrepare.cpp
    A llvm/test/Transforms/SjLjEHPrepare/respect-exception-model-flag.ll

  Log Message:
  -----------
  CodeGen: Respect the exception-model module flag in SjLjEHPrepare (#225726)

Teach SjLjEHPrepare to consult the "exception-model" module flag and
only prepare when the module selects the SjLj model. When the flag is absent
the pass runs as before, implicitly relying on the pass config not running
the pass.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>



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