[all-commits] [llvm/llvm-project] 6247c9: Triple: Move getSjLjDataSize off TargetMachine
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Oct 2 01:23:46 PDT 2026
Branch: refs/heads/users/arsenm/codegen/sjlj-data-size-triple
Home: https://github.com/llvm/llvm-project
Commit: 6247c91b92a75e4c6a24e199d48b05cf68a8c1c2
https://github.com/llvm/llvm-project/commit/6247c91b92a75e4c6a24e199d48b05cf68a8c1c2
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M llvm/include/llvm/CodeGen/Passes.h
M llvm/include/llvm/CodeGen/SjLjEHPrepare.h
M llvm/include/llvm/Target/TargetMachine.h
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/lib/Passes/CodeGenPassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Target/VE/VETargetMachine.h
M llvm/lib/TargetParser/Triple.cpp
Log Message:
-----------
Triple: Move getSjLjDataSize off TargetMachine
This eliminates the TargetMachine dependence of SjLjEHPrepare.
The pass had the questionable behavior of just proceeding with the
default size without a TargetMachine. VE is the only user and changes
the integer bitwidth used, and this doesn't seem worthwhile of a
virtual function. Move to the triple in keeping with migrating
ABI parameters out of codegen.
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