[PATCH] Refactor: Simplify boolean conditional return statements in lib/Target/PowerPC
Richard
legalize at xmission.com
Mon May 25 09:51:01 PDT 2015
================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:11204
@@ -11203,5 +11203,3 @@
unsigned BitSize = Ty->getPrimitiveSizeInBits();
- if (BitSize == 0 || BitSize > 64)
- return false;
- return true;
+ return !(BitSize == 0 || BitSize > 64);
}
----------------
craig.topper wrote:
> Push the negate through
Fixed.
http://reviews.llvm.org/D9984
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list