summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2017-04-07 17:25:05 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2017-04-07 17:25:05 +0000
commitf7e4388e3bdcad8956a6bb3b66aa39768e259ed3 (patch)
tree014f545fbf7bff54b86bd5eef5a5fed7b974f625 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
parentbfad55fbc0a112bdb70c984b227dd96a02731da1 (diff)
downloadbcm5719-llvm-f7e4388e3bdcad8956a6bb3b66aa39768e259ed3.tar.gz
bcm5719-llvm-f7e4388e3bdcad8956a6bb3b66aa39768e259ed3.zip
Revert "[SelectionDAG] Enable target specific vector scalarization of calls and returns"
This reverts commit r299766. This change appears to have broken the MIPS buildbots. Reverting while I investigate. Revert "[mips] Remove usage of debug only variable (NFC)" This reverts commit r299769. Follow up commit. llvm-svn: 299788
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index b24a513f3c0..c6acc09b660 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -973,28 +973,18 @@ struct RegsForValue {
/// expanded value requires multiple registers.
SmallVector<unsigned, 4> Regs;
- /// This list holds the number of registers for each value.
- SmallVector<unsigned, 4> RegCount;
-
- /// Records if this value needs to be treated in an ABI dependant manner,
- /// different to normal type legalization.
- bool IsABIMangled;
-
RegsForValue();
- RegsForValue(const SmallVector<unsigned, 4> &regs, MVT regvt, EVT valuevt,
- bool IsABIMangledValue = false);
+ RegsForValue(const SmallVector<unsigned, 4> &regs, MVT regvt, EVT valuevt);
RegsForValue(LLVMContext &Context, const TargetLowering &TLI,
- const DataLayout &DL, unsigned Reg, Type *Ty,
- bool IsABIMangledValue = false);
+ const DataLayout &DL, unsigned Reg, Type *Ty);
/// Add the specified values to this one.
void append(const RegsForValue &RHS) {
ValueVTs.append(RHS.ValueVTs.begin(), RHS.ValueVTs.end());
RegVTs.append(RHS.RegVTs.begin(), RHS.RegVTs.end());
Regs.append(RHS.Regs.begin(), RHS.Regs.end());
- RegCount.push_back(RHS.Regs.size());
}
/// Emit a series of CopyFromReg nodes that copies from this value and returns
OpenPOWER on IntegriCloud