[clang] [AArch64] Add option -msve-streaming-vector-bits= . (PR #144611)

Pengcheng Wang via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 19 20:50:08 PDT 2025


================
@@ -1034,9 +1034,16 @@ class TargetInfo : public TransferrableTargetInfo,
   /// set of primary and secondary targets.
   virtual llvm::SmallVector<Builtin::InfosShard> getTargetBuiltins() const = 0;
 
+  enum class ArmStreamingKind {
+    NotStreaming,
+    StreamingCompatible,
+    Streaming,
+  };
+
   /// Returns target-specific min and max values VScale_Range.
   virtual std::optional<std::pair<unsigned, unsigned>>
-  getVScaleRange(const LangOptions &LangOpts, bool IsArmStreamingFunction,
+  getVScaleRange(const LangOptions &LangOpts,
+                 ArmStreamingKind IsArmStreamingFunction,
----------------
wangpc-pp wrote:

Okay I didn't how it is used. Please go ahead.

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


More information about the cfe-commits mailing list