kernigh added a comment.
I forgot about this diff for a month.
Comment at: clang/lib/CodeGen/TargetInfo.cpp:4722
bool isI64 = Ty->isIntegerType() && getContext().getTypeSize(Ty) == 64;
- bool isInt =
- Ty->isIntegerType() || Ty->isPointerType() || Ty->isAggregateType()
kernigh added a comment.
Hi, Eli. I'm missing emails from Phabricator, so I didn't know about your
recent post. I will respond to your question about numUsedRegs when I find time.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90329/new/
https://reviews.llvm.org/D90329
kernigh updated this revision to Diff 305335.
kernigh retitled this revision from "[PowerPC] Fix va_arg in Objective-C on
32-bit ELF targets" to "[PowerPC] Fix va_arg in C++, Objective-C on 32-bit ELF
targets".
kernigh edited the summary of this revision.
kernigh added a comment.
I have updated
kernigh added inline comments.
Comment at: clang/lib/CodeGen/TargetInfo.cpp:4723
+ bool isInt = Ty->isIntegerType() || Ty->hasPointerRepresentation() ||
+ Ty->isAggregateType();
bool isF64 = Ty->isFloatingType() && getContext().getTypeSize(Ty) == 64;
---
kernigh added inline comments.
Comment at: clang/lib/CodeGen/TargetInfo.cpp:4723
+ bool isInt = Ty->isIntegerType() || Ty->hasPointerRepresentation() ||
+ Ty->isAggregateType();
bool isF64 = Ty->isFloatingType() && getContext().getTypeSize(Ty) == 64;
---
kernigh added a comment.
I'm using this TargetInfo.cpp diff in clang 10.0.1 on OpenBSD/macppc to build
GNUstep. For me, it fixes the build of gnustep-gui. I rebuilt libobjc2,
gnustep-make, and gnustep-base before building gnustep-gui.
This diff doesn't change 64-bit PowerPC, because 64-bit does
kernigh created this revision.
kernigh added reviewers: brad, nemanjai, efriedma.
Herald added subscribers: cfe-commits, shchenz, kbarton.
Herald added a project: clang.
kernigh requested review of this revision.
In the PPC32 SVR4 ABI, a va_list has copies of registers from the function
call. va_
kernigh created this revision.
kernigh added reviewers: brad, markmi, chmeee.
kernigh added a project: clang.
Herald added subscribers: cfe-commits, steven.zhang, shchenz, jsji, kbarton,
krytarowski, arichardson, nemanjai, emaste.
This is a patch for https://bugs.llvm.org/show_bug.cgi?id=40736
*
kernigh added a comment.
I'm stuck. I didn't put a test in this patch because I can't run the tests yet.
So far, I can build a clang executable but can't build the rest of the project.
I won't run the tests without a complete build, and I won't edit the tests
without running them.
I had diffic
kernigh created this revision.
kernigh added reviewers: joerg, brad, cfe-commits.
Herald added subscribers: jsji, krytarowski, nemanjai.
Herald added a project: clang.
This enables -fomit-frame-pointer when optimizing code for all PowerPC
targets, instead of only Linux and NetBSD.
I mailed this p
10 matches
Mail list logo