[llvm] [ARM] fix "+fp.dp" in multilib selection (PR #67412)
Dominik Wójt via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 13 02:31:36 PDT 2023
================
@@ -420,20 +444,35 @@ bool ARM::appendArchExtFeatures(StringRef CPU, ARM::ArchKind AK,
CPU = "generic";
if (ArchExt == "fp" || ArchExt == "fp.dp") {
+ const ARM::FPUKind DefaultFPU = getDefaultFPU(CPU, AK);
ARM::FPUKind FPUKind;
if (ArchExt == "fp.dp") {
+ const bool IsDP = ArgFPUKind != ARM::FK_INVALID &&
+ ArgFPUKind != ARM::FK_NONE &&
+ isDoublePrecision(getFPURestriction(ArgFPUKind));
----------------
domin144 wrote:
I will add a test case for this.
https://github.com/llvm/llvm-project/pull/67412
More information about the llvm-commits
mailing list