[PATCH] D15055: [X86] Better support for the MCU psABI
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 27 20:31:09 PST 2015
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: lib/CodeGen/TargetInfo.cpp:838
@@ +837,3 @@
+ bool shouldAggregateUseDirect(QualType Ty, CCState &State, bool &InReg,
+ bool &NeedsPadding) const;
+ bool shouldPrimitiveUseInReg(QualType Ty, CCState &State) const;
----------------
formatting seems off
================
Comment at: lib/CodeGen/TargetInfo.cpp:1256-1257
@@ +1255,4 @@
+bool X86_32ABIInfo::shouldAggregateUseDirect(QualType Ty, CCState &State,
+ bool &InReg, bool &NeedsPadding) const {
+ NeedsPadding = false;
+ InReg = !IsMCUABI;
----------------
formatting
http://reviews.llvm.org/D15055
More information about the cfe-commits
mailing list