diff options
| author | Misha Brukman <brukman+llvm@gmail.com> | 2004-08-19 21:00:12 +0000 |
|---|---|---|
| committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-08-19 21:00:12 +0000 |
| commit | 75e987d0b87663976d793437fb830f56c25b81f6 (patch) | |
| tree | f15e4f24561aefd242062b31bffc95e5f8cb3471 /llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp | |
| parent | 90b057bf2a5e902e991ae24579aeec5d26bd0eec (diff) | |
| download | bcm5719-llvm-75e987d0b87663976d793437fb830f56c25b81f6.tar.gz bcm5719-llvm-75e987d0b87663976d793437fb830f56c25b81f6.zip | |
This PHI has 4 additional operands, not 2.
llvm-svn: 15926
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp | 2 |
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); } } |

