[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 15 02:30:49 PDT 2024


================
@@ -289,7 +289,7 @@ def SPLATQ : WInst<"splat_laneq", ".(!Q)I",
                    "UcUsUicsilPcPsfQUcQUsQUiQcQsQiQPcQPsQflUlQlQUlhdQhQdPlQPl"> {
   let isLaneQ = 1;
 }
-let TargetGuard = "bf16" in {
+let TargetGuard = "bf16,neon" in {
----------------
CarolineConcatto wrote:

Do you need to add **neon** as TarguetGuard here because what you've had set in  class Inst is overwritten?






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


More information about the cfe-commits mailing list