[clang] [Clang][AArch64] Expose compatible SVE intrinsics with only +sme (PR #95787)

Paul Walker via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 18 05:17:56 PDT 2024


================
@@ -286,10 +290,13 @@ let TargetGuard = "sve,f64mm,bf16" in {
 }
 
 let TargetGuard = "sve,bf16" in {
+  def SVBFMMLA       : SInst<"svbfmmla[_{0}]",       "MMdd",  "b", MergeNone, "aarch64_sve_bfmmla",       [IsOverloadNone]>;
+}
+
+let TargetGuard = "(sve,bf16)|sme" in {
----------------
paulwalker-arm wrote:

Looking at the specification suggests this should be `(sve|sme),bf16`?

 
Also, the closing `}` could do with a matching comment.

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


More information about the cfe-commits mailing list