aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2025-06-19 19:08:52 +0900
committerGitHub <noreply@github.com>2025-06-19 19:08:52 +0900
commit1c35fe4e6b2596d153da82b23d04a3779fb12730 (patch)
tree97b2190799ad2ab8664401e1865d3fc259f23007 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent305953a32ded8a43b22f65cf73d9214729feb1fc (diff)
downloadllvm-1c35fe4e6b2596d153da82b23d04a3779fb12730.zip
llvm-1c35fe4e6b2596d153da82b23d04a3779fb12730.tar.gz
llvm-1c35fe4e6b2596d153da82b23d04a3779fb12730.tar.bz2
RuntimeLibcalls: Pass in exception handling type (#144696)
All of the ABI options that influence libcall decisions need to be passed in.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index 2b5087c..41e73b8 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -632,8 +632,8 @@ void RTLIB::initCmpLibcallCCs(ISD::CondCode *CmpLibcallCCs) {
/// NOTE: The TargetMachine owns TLOF.
TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm)
- : TM(tm), Libcalls(TM.getTargetTriple(), TM.Options.FloatABIType,
- TM.Options.EABIVersion) {
+ : TM(tm), Libcalls(TM.getTargetTriple(), TM.Options.ExceptionModel,
+ TM.Options.FloatABIType, TM.Options.EABIVersion) {
initActions();
// Perform these initializations only once.