[llvm] Use TargetABI to assign default-target features in getDefaultSubtargetFeatures (PR #100833)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 4 21:26:29 PDT 2024
================
@@ -81,5 +82,7 @@ void SubtargetFeatures::getDefaultSubtargetFeatures(const Triple& Triple) {
AddFeature("64bit");
AddFeature("altivec");
}
+ } else if (Triple.isAndroid() && TargetABI.contains("lp64d")) {
----------------
hiraditya wrote:
> Should we check that the triple is RISCV?
I'm okay with it. Preparing the patch now.
https://github.com/llvm/llvm-project/pull/100833
More information about the llvm-commits
mailing list