diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-06-19 19:02:42 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-19 19:02:42 +0900 |
commit | 5bee2c34bde1aa8b0fb5aed7d5ce330f094f6436 (patch) | |
tree | b2411807f8a2170fdf794b1fafefa34207fb7fb5 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 0fe78c4a290517925acc03d59f235926f440f155 (diff) | |
download | llvm-5bee2c34bde1aa8b0fb5aed7d5ce330f094f6436.zip llvm-5bee2c34bde1aa8b0fb5aed7d5ce330f094f6436.tar.gz llvm-5bee2c34bde1aa8b0fb5aed7d5ce330f094f6436.tar.bz2 |
RuntimeLibcalls: Pass in FloatABI and EABI type (#144691)
We need the full set of ABI options to accurately compute
the full set of libcalls. This partially resolves missing
information required to compute the set of ARM calls.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringBase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp index b1afdc2..2b5087c 100644 --- a/llvm/lib/CodeGen/TargetLoweringBase.cpp +++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp @@ -632,7 +632,8 @@ void RTLIB::initCmpLibcallCCs(ISD::CondCode *CmpLibcallCCs) { /// NOTE: The TargetMachine owns TLOF. TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm) - : TM(tm), Libcalls(TM.getTargetTriple()) { + : TM(tm), Libcalls(TM.getTargetTriple(), TM.Options.FloatABIType, + TM.Options.EABIVersion) { initActions(); // Perform these initializations only once. |