================
@@ -491,13 +491,15 @@ bool AArch64Subtarget::isStreamingCompatible() const {
 }
 
 bool AArch64Subtarget::isNeonAvailable() const {
-  return hasNEON() && !isStreaming() && !isStreamingCompatible();
+  if (hasSMEFA64())
+    return true;
+  return (hasNEON() && !isStreaming() && !isStreamingCompatible());
----------------
sdesmalen-arm wrote:

You still need to check or `hasNEON()`. Is it simpler to write as:

```
return hasNEON() && 
       (hasSMEFA64() || (!isStreaming() && !isStreamingCompatible()));
```


https://github.com/llvm/llvm-project/pull/70809
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to