[clang] [llvm] [Clang][LoongArch] Support target attribute for function (PR #140700)
via cfe-commits
cfe-commits at lists.llvm.org
Sun May 25 23:55:21 PDT 2025
================
@@ -0,0 +1,19 @@
+// RUN: %clang_cc1 -triple loongarch64-linux-gnu -fsyntax-only -verify %s
+
+// expected-error at +1 {{function multiversioning is not supported on the current target}}
+void __attribute__((target("default"))) bar(void){}
----------------
Ami-zhang wrote:
Done.
https://github.com/llvm/llvm-project/pull/140700
More information about the cfe-commits
mailing list