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:
parent
e9b074657f
commit
8f9b970b80
@ -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
Block a user