summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-08-19 21:00:12 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-08-19 21:00:12 +0000
commit75e987d0b87663976d793437fb830f56c25b81f6 (patch)
treef15e4f24561aefd242062b31bffc95e5f8cb3471 /llvm/lib
parent90b057bf2a5e902e991ae24579aeec5d26bd0eec (diff)
downloadbcm5719-llvm-75e987d0b87663976d793437fb830f56c25b81f6.tar.gz
bcm5719-llvm-75e987d0b87663976d793437fb830f56c25b81f6.zip
This PHI has 4 additional operands, not 2.
llvm-svn: 15926
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp b/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
index a2ba0409727..e5f57285851 100644
--- a/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
+++ b/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
@@ -2836,7 +2836,7 @@ void ISel::emitCastOperation(MachineBasicBlock *MBB,
// PhiMBB:
// DestReg = phi [ IntTmp, OldMBB ], [ XorReg, XorMBB ]
BB = PhiMBB;
- BuildMI(BB, PPC::PHI, 2, DestReg).addReg(IntTmp).addMBB(OldMBB)
+ BuildMI(BB, PPC::PHI, 4, DestReg).addReg(IntTmp).addMBB(OldMBB)
.addReg(XorReg).addMBB(XorMBB);
}
}
OpenPOWER on IntegriCloud