================
@@ -0,0 +1,12 @@
+// RUN: %clang --target=aarch64-none-linux-gnu -march=armv9-a+sme -O3 -S 
-Xclang -verify %s
+
+// Conflicting attributes when using always_inline
+__attribute__((always_inline)) __arm_locally_streaming
+int inlined_fn_local(void) {
+    return 42;
+}
----------------
MDevereau wrote:

Do these tests have to return an int? 42 looks like it could possibly be a 
significant magic number in some way. I think the tests can probably be 
combined into a single file like 
`clang/test/CodeGen/aarch64-sme-func-attrs-inline.c` too?

https://github.com/llvm/llvm-project/pull/77936
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to