[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 4 17:26:30 PDT 2024


================
@@ -81,5 +82,7 @@ void SubtargetFeatures::getDefaultSubtargetFeatures(const Triple& Triple) {
       AddFeature("64bit");
       AddFeature("altivec");
     }
+  } else if (Triple.isAndroid() && TargetABI.contains("lp64d")) {
----------------
ilovepi wrote:

Do we have stability guarantees about the `target-abi` metadata? I don't think we do, but I also don't recall any changes around it... Is relying on parsing the string stable?

https://github.com/llvm/llvm-project/pull/100833


More information about the llvm-commits mailing list