mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
The real fix for post-r284255 failures
llvm-svn: 284264
This commit is contained in:
parent
8ac6d87b06
commit
7e79b59e6f
@ -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);
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user