[all-commits] [llvm/llvm-project] 73c8b5: RuntimeLibcalls: Read exception model from the mod...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Sep 16 23:08:12 PDT 2026


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

  Changed paths:
    M flang/lib/Frontend/FrontendActions.cpp
    M llvm/include/llvm/Analysis/RuntimeLibcallInfo.h
    M llvm/include/llvm/IR/RuntimeLibcalls.h
    M llvm/lib/Analysis/RuntimeLibcallInfo.cpp
    M llvm/lib/CodeGen/CodeGenTargetMachineImpl.cpp
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/lib/IR/RuntimeLibcalls.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Passes/RunCodeGen.cpp
    M llvm/tools/llc/lib/NewPMDriver.cpp
    M llvm/tools/llc/lib/llcdriver.cpp
    M llvm/tools/opt/NewPMDriver.cpp
    M llvm/tools/opt/optdriver.cpp

  Log Message:
  -----------
  RuntimeLibcalls: Read exception model from the module flag (#223971)

Source the exception model in the RuntimeLibcallsInfo(Module)
constructor from the "exception-model" module flag via 
Module::getExceptionModel(), instead of forwarding it from TargetOptions. 
An absent flag resolves to Default and then to the triple default; an explicit "none" 
disables exceptions.

Since the model now comes from the module, drop the ExceptionModel that
RuntimeLibraryAnalysis carried and forwarded, and its argument at every
construction site.

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