[PATCH] Refactor: Simplify boolean conditional return statements in lib/Target/XCore
Craig Topper
craig.topper at gmail.com
Mon May 25 02:42:06 PDT 2015
================
Comment at: lib/Target/XCore/XCoreISelLowering.cpp:1464
@@ -1463,5 +1463,3 @@
return false;
- if (CCInfo.getNextStackOffset() != 0 && isVarArg)
- return false;
- return true;
+ return !(CCInfo.getNextStackOffset() != 0 && isVarArg);
}
----------------
Push negate through
http://reviews.llvm.org/D9988
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list