1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

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 e9b074657f
commit 8f9b970b80
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");