[clang] [CIR] cir.call with scalar return type (PR #135552)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 14 10:49:40 PDT 2025


================
@@ -0,0 +1,89 @@
+//==-- ABIArgInfo.h - Abstract info regarding ABI-specific arguments -------==//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// Defines ABIArgInfo and associated types used by CIR to track information
+// regarding ABI-coerced types for function arguments and return values. This
+// was moved to the common library as it might be used by both CIRGen and
+// passes.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CLANG_CIR_ABIARGINFO_H
----------------
andykaylor wrote:

```suggestion
#ifndef CLANG_CIR_ABIARGINFO_H
```
We've done a terrible job of being consistent about this during upstreaming, but this should correspond to the path that appears in the include statement.

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


More information about the cfe-commits mailing list