[clang] [CIR] Cleanup support for C functions (PR #136854)

Iris Shi via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 24 04:00:04 PDT 2025


================
@@ -233,6 +233,19 @@ int f8(int *p) {
 // OGCG:   %[[P2:.*]] = load ptr, ptr %[[P_PTR]], align 8
 // OGCG:   %[[STAR_P:.*]] = load i32, ptr %[[P2]], align 4
 
+
+void f9() {}
----------------
el-ev wrote:

 I'm actually unsure what kind of new tests would be appropriate. Do you have any suggestions on what I should add?

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


More information about the cfe-commits mailing list