Fix for IL build, as per jack.frost's patch in issue 620. Feel free to yell at me if it breaks anything.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2669 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
27210d4f8e
commit
3635e7827b
|
@ -326,7 +326,7 @@ InstLoc IRBuilder::FoldUOp(unsigned Opcode, InstLoc Op1, unsigned extra) {
|
||||||
if (Opcode == DoubleToSingle) {
|
if (Opcode == DoubleToSingle) {
|
||||||
if (getOpcode(*Op1) == DupSingleToMReg)
|
if (getOpcode(*Op1) == DupSingleToMReg)
|
||||||
return getOp1(Op1);
|
return getOp1(Op1);
|
||||||
if (getOpcode(*Op1) >= FDMul || getOpcode(*Op1) <= FDSub) {
|
if (getOpcode(*Op1) >= FDMul && getOpcode(*Op1) <= FDSub) {
|
||||||
InstLoc OOp1 = getOp1(Op1), OOp2 = getOp2(Op1);
|
InstLoc OOp1 = getOp1(Op1), OOp2 = getOp2(Op1);
|
||||||
if (getOpcode(*OOp1) == DupSingleToMReg &&
|
if (getOpcode(*OOp1) == DupSingleToMReg &&
|
||||||
getOpcode(*OOp2) == DupSingleToMReg) {
|
getOpcode(*OOp2) == DupSingleToMReg) {
|
||||||
|
|
Loading…
Reference in New Issue