mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Simplify expressions involving boolean constants with clang-tidy
Patch by Richard (legalize at xmission dot com). Differential Revision: http://reviews.llvm.org/D8154 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -4466,8 +4466,7 @@ static void scaleWeights(uint64_t &NewTrue, uint64_t &NewFalse) {
|
||||
/// FIXME: Remove the (equivalent?) implementation in SelectionDAG.
|
||||
///
|
||||
bool CodeGenPrepare::splitBranchCondition(Function &F) {
|
||||
if (!TM || TM->Options.EnableFastISel != true ||
|
||||
!TLI || TLI->isJumpExpensive())
|
||||
if (!TM || !TM->Options.EnableFastISel || !TLI || TLI->isJumpExpensive())
|
||||
return false;
|
||||
|
||||
bool MadeChange = false;
|
||||
|
Reference in New Issue
Block a user