[clang] [CIR] Add inline function attributes (PR #162866)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 10 11:48:46 PDT 2025


================
@@ -123,7 +123,7 @@ void func() {
 // CIR: %[[TMP:.*]] = cir.load{{.*}} %[[ELE_PTR]] : !cir.ptr<!s32i>, !s32i
 // CIR" cir.store %[[TMP]], %[[INIT_2]] : !s32i, !cir.ptr<!s32i>
 
-// LLVM: define{{.*}} void @_Z4funcv()
+// LLVM: define{{.*}} void @_Z4funcv(){{.*}}
----------------
andykaylor wrote:

You're changing a lot of tests that I wouldn't have expected to be affected by this PR. Is that just to prepare them to tolerate future attributes in cases where we don't actually care about attributes?

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


More information about the cfe-commits mailing list