forked from OSchip/llvm-project
Fix opcode: no immediate in an `or r1, r2, r3' (all registers) instr.
llvm-svn: 14411
This commit is contained in:
parent
726de6f9b0
commit
5dbf760e00
|
@ -1052,7 +1052,7 @@ void ISel::promote32(unsigned targetReg, const ValueRecord &VR) {
|
|||
break;
|
||||
case cInt:
|
||||
// Move value into target register (32->32)
|
||||
BuildMI(BB, PPC32::ORI, 2, targetReg).addReg(Reg).addReg(Reg);
|
||||
BuildMI(BB, PPC32::OR, 2, targetReg).addReg(Reg).addReg(Reg);
|
||||
break;
|
||||
default:
|
||||
assert(0 && "Unpromotable operand class in promote32");
|
||||
|
|
|
@ -1052,7 +1052,7 @@ void ISel::promote32(unsigned targetReg, const ValueRecord &VR) {
|
|||
break;
|
||||
case cInt:
|
||||
// Move value into target register (32->32)
|
||||
BuildMI(BB, PPC32::ORI, 2, targetReg).addReg(Reg).addReg(Reg);
|
||||
BuildMI(BB, PPC32::OR, 2, targetReg).addReg(Reg).addReg(Reg);
|
||||
break;
|
||||
default:
|
||||
assert(0 && "Unpromotable operand class in promote32");
|
||||
|
|
Loading…
Reference in New Issue