add missing line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92384 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index cd553f0..516d72e 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -10149,8 +10149,9 @@
       if (Power->isOne())
         return ReplaceInstUsesWith(CI, II->getOperand(1));
       // powi(x, -1) -> 1/x
-      return BinaryOperator::CreateFDiv(ConstantFP::get(CI.getType(), 1.0),
-                                        II->getOperand(1));
+      if (Power->isAllOnesValue())
+        return BinaryOperator::CreateFDiv(ConstantFP::get(CI.getType(), 1.0),
+                                          II->getOperand(1));
     }
     break;