Fix opcode: no immediate in an `or r1, r2, r3' (all registers) instr.

llvm-svn: 14411
This commit is contained in:
Misha Brukman 2004-06-25 18:36:53 +00:00
parent 726de6f9b0
commit 5dbf760e00
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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");