1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02: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();
switch (Opc) {
case Hexagon::A2_combinew: {
break; // FIXME
const MachineOperand &DstOp = MI->getOperand(0);
const MachineOperand &HiOp = MI->getOperand(1);
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 {
assert(TargetRegisterInfo::isPhysicalRegister(Reg));
assert(Sub == 0 && "Not expecting subregisters");
// TODO handle subregisters just to see if LMI would work with it.
if (Sub != 0)
Reg = TRI.getSubReg(Reg, Sub);
return RegisterRef(Reg);
}