[clang] [TargetVersion] Only enable on RISC-V and AArch64 (PR #115991)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 12 23:26:59 PST 2024
================
@@ -3282,6 +3282,8 @@ def warn_unsupported_target_attribute
"attribute string; '%select{target|target_clones|target_version}3' "
"attribute ignored">,
InGroup<IgnoredAttributes>;
+def err_target_version_unsupported
+ : Error<"target_version attribute is not supported in this target">;
----------------
topperc wrote:
"in this target" -> "on this target"
https://github.com/llvm/llvm-project/pull/115991
More information about the cfe-commits
mailing list