[llvm] [TargetParser] Parse Amazon Linux triple and handle RuntimeLibcalls (PR #136114)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Wed May 21 06:13:56 PDT 2025
================
@@ -173,7 +173,7 @@ void RuntimeLibcallsInfo::initLibcalls(const Triple &TT) {
setLibcallName(RTLIB::EXP10_F64, "__exp10");
}
- if (TT.isGNUEnvironment() || TT.isOSFuchsia() ||
+ if (TT.isGNUEnvironment() || TT.isOSFuchsia() || TT.isAmazonLinux() ||
----------------
MacDue wrote:
@MaskRay any thoughts on the above, or the possible alternative solution with `Triple::normalize` in https://github.com/llvm/llvm-project/pull/140070?
https://github.com/llvm/llvm-project/pull/136114
More information about the llvm-commits
mailing list