[all-commits] [llvm/llvm-project] ddb384: Triple: Move getSjLjDataSize off TargetMachine
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue Sep 22 03:39:25 PDT 2026
Branch: refs/heads/users/arsenm/codegen/sjlj-data-size-triple
Home: https://github.com/llvm/llvm-project
Commit: ddb3843dd1eb4e04e066e623fd0b2c55bc721506
https://github.com/llvm/llvm-project/commit/ddb3843dd1eb4e04e066e623fd0b2c55bc721506
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-09-22 (Tue, 22 Sep 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