mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
This appears to fix Bug 172 and does not break any other feature tests or
regression tests. llvm-svn: 10388
This commit is contained in:
parent
6eae2a120e
commit
ea48d9cd13
@ -167,6 +167,12 @@ FixConstantOperandsForInstr(Instruction* vmInstr,
|
||||
constantThatMustBeLoaded = true;
|
||||
}
|
||||
} else {
|
||||
//
|
||||
// If the operand is from the constant pool, don't try to change it.
|
||||
//
|
||||
if (mop.getType() == MachineOperand::MO_ConstantPoolIndex) {
|
||||
continue;
|
||||
}
|
||||
assert(mop.isImmediate());
|
||||
bool isSigned = mop.getType() == MachineOperand::MO_SignExtendedImmed;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user