Refactor: Simplify boolean conditional return statements in lib/Target/PowerPC
[oota-llvm.git] / lib / Target / PowerPC / PPCISelLowering.cpp
index c84248c64632a6caa8ca1fa5162304e57b1580aa..af9ad077a7ce16a99400644a3eac07488276edff 100644 (file)
@@ -11434,9 +11434,7 @@ bool PPCTargetLowering::shouldConvertConstantLoadToIntImm(const APInt &Imm,
   assert(Ty->isIntegerTy());
 
   unsigned BitSize = Ty->getPrimitiveSizeInBits();
-  if (BitSize == 0 || BitSize > 64)
-    return false;
-  return true;
+  return !(BitSize == 0 || BitSize > 64);
 }
 
 bool PPCTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const {