================
@@ -0,0 +1,28 @@
+// RUN: %clang_cc1 -emit-llvm -x c %s -triple x86_64-unknown-linux-gnu -O1 -o
- | FileCheck %s --check-prefix=C
+// RUN: %clang_cc1 -emit-llvm -x c++ %s -triple x86_64-unknown-linux-gnu
-std=c++23 -O1 -o - | FileCheck %s --check-prefix=CXX
+
+// C-LABEL: define {{.*}} @with_noipa(
+// C-SAME: ) {{.*}}#[[NOIPA_ATTR:[0-9]+]] {
+__attribute__((noipa)) int with_noipa(int x) {
----------------
Disservin wrote:
I think I will maybe just change this, https://godbolt.org/z/Kr56zT3hz, gcc
seems to ignore the always_inline and emit a warning `ignoring attribute
'always_inline' because it conflicts with attribute 'noinline'`
https://github.com/llvm/llvm-project/pull/207502
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits