Fix the build bot break introduced by r320791.

llvm-svn: 320798
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
index a9060b4..e047179 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
@@ -2217,8 +2217,13 @@
     MI.RemoveOperand(i);
 
   // Replace the instruction.
-  if (LII.SetCR)
+  if (LII.SetCR) {
     MI.setDesc(get(LII.Is64Bit ? PPC::ANDIo8 : PPC::ANDIo));
+    // Set the immediate.
+    MachineInstrBuilder(*MI.getParent()->getParent(), MI)
+        .addImm(LII.Imm).addReg(PPC::CR0, RegState::ImplicitDefine);
+    return;
+  }
   else
     MI.setDesc(get(LII.Is64Bit ? PPC::LI8 : PPC::LI));