[clang] [llvm] [PowerPC] Fix codegen for transparent_union function params (PR #101738)
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 5 11:41:20 PDT 2024
================
@@ -65,6 +65,10 @@ CGCXXABI::RecordArgABI getRecordArgABI(QualType T, CGCXXABI &CXXABI);
bool classifyReturnType(const CGCXXABI &CXXABI, CGFunctionInfo &FI,
const ABIInfo &Info);
+// For transparent union types, return the type of the first element.
+// Set reference TU to true if Ty given was a transparent union.
----------------
hubert-reinterpretcast wrote:
```suggestion
// Set TU to true if Ty given was a transparent union and to false otherwise.
```
https://github.com/llvm/llvm-project/pull/101738
More information about the cfe-commits
mailing list