[clang] [clang][sema][FMV] Forbid multi-versioning arm_streaming functions. (PR #81268)

Jon Roelofs via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 9 08:55:03 PST 2024


================
@@ -3501,9 +3501,18 @@ bool Sema::checkTargetAttr(SourceLocation LiteralLoc, StringRef AttrStr) {
   return false;
 }
 
+static bool isArmStreaming(const FunctionDecl *FD) {
+  if (FD->hasAttr<ArmLocallyStreamingAttr>())
+    return true;
----------------
jroelofs wrote:

Oh, you're right, we don't need this one, since the ABI isn't different from a normal function: https://arm-software.github.io/acle/main/acle.html#changing-streaming-mode-locally

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


More information about the cfe-commits mailing list