[PATCH] D27051: Propagate NumRegisterParameters to Backend
Nirav Dave via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 23 08:20:45 PST 2016
niravd created this revision.
niravd added reviewers: rnk, mkuper.
niravd added a subscriber: llvm-commits.
https://reviews.llvm.org/D27051
Files:
lib/CodeGen/BackendUtil.cpp
Index: lib/CodeGen/BackendUtil.cpp
===================================================================
--- lib/CodeGen/BackendUtil.cpp
+++ lib/CodeGen/BackendUtil.cpp
@@ -552,6 +552,8 @@
.Case("hard", llvm::FloatABI::Hard)
.Default(llvm::FloatABI::Default);
+ Options.RegParm = CodeGenOpts.NumRegisterParameters;
+
// Set FP fusion mode.
switch (CodeGenOpts.getFPContractMode()) {
case CodeGenOptions::FPC_Off:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27051.79089.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161123/5cfcad09/attachment.bin>
More information about the llvm-commits
mailing list