diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-06-19 19:08:52 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-19 19:08:52 +0900 |
commit | 1c35fe4e6b2596d153da82b23d04a3779fb12730 (patch) | |
tree | 97b2190799ad2ab8664401e1865d3fc259f23007 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 305953a32ded8a43b22f65cf73d9214729feb1fc (diff) | |
download | llvm-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.cpp | 4 |
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. |