[clang] [AMDGPU] Synthetic return coerce for aggregates with empty-for-layout members. (PR #197004)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 3 06:23:23 PDT 2026


================
@@ -21,6 +25,94 @@ using namespace clang::CodeGen;
 
 namespace {
 
+/// True if \p Ty is a record whose fields (or bases) include a field that
----------------
arsenm wrote:

I mean that the amount of code to number of test cases is very high. I would also expect that skip-nop-fields is something that would some pre-existing generic code to handle 

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


More information about the cfe-commits mailing list