[llvm] Use TargetABI to assign default-target features in getDefaultSubtargetFeatures (PR #100833)
Paul Kirth via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 08:26:40 PDT 2024
================
@@ -81,5 +82,7 @@ void SubtargetFeatures::getDefaultSubtargetFeatures(const Triple& Triple) {
AddFeature("64bit");
AddFeature("altivec");
}
+ } else if (Triple.isRISCV64() && TargetABI.contains("lp64d")) {
----------------
ilovepi wrote:
Should we extend the checks here for both 32-bit and other hard floats?
- ilp32f
- ilp32d
- lp64f
- lp64q
https://github.com/llvm/llvm-project/pull/100833
More information about the llvm-commits
mailing list