1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

The real fix for post-r284255 failures

llvm-svn: 284264
This commit is contained in:
Krzysztof Parzyszek 2016-10-14 19:06:25 +00:00
parent 8ac6d87b06
commit 7e79b59e6f
2 changed files with 2 additions and 3 deletions

View File

@ -102,7 +102,6 @@ bool HexagonCP::interpretAsCopy(const MachineInstr *MI, EqualityMap &EM) {
unsigned Opc = MI->getOpcode(); unsigned Opc = MI->getOpcode();
switch (Opc) { switch (Opc) {
case Hexagon::A2_combinew: { case Hexagon::A2_combinew: {
break; // FIXME
const MachineOperand &DstOp = MI->getOperand(0); const MachineOperand &DstOp = MI->getOperand(0);
const MachineOperand &HiOp = MI->getOperand(1); const MachineOperand &HiOp = MI->getOperand(1);
const MachineOperand &LoOp = MI->getOperand(2); const MachineOperand &LoOp = MI->getOperand(2);

View File

@ -1046,8 +1046,8 @@ void DataFlowGraph::build(unsigned Options) {
RegisterRef DataFlowGraph::makeRegRef(unsigned Reg, unsigned Sub) const { RegisterRef DataFlowGraph::makeRegRef(unsigned Reg, unsigned Sub) const {
assert(TargetRegisterInfo::isPhysicalRegister(Reg)); assert(TargetRegisterInfo::isPhysicalRegister(Reg));
assert(Sub == 0 && "Not expecting subregisters"); if (Sub != 0)
// TODO handle subregisters just to see if LMI would work with it. Reg = TRI.getSubReg(Reg, Sub);
return RegisterRef(Reg); return RegisterRef(Reg);
} }