[llvm-commits] [llvm] r152711 - /llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Benjamin Kramer
benny.kra at googlemail.com
Wed Mar 14 04:26:37 PDT 2012
Author: d0k
Date: Wed Mar 14 06:26:37 2012
New Revision: 152711
URL: http://llvm.org/viewvc/llvm-project?rev=152711&view=rev
Log:
Silence operator precedence warnings.
Modified:
llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Modified: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineScheduler.cpp?rev=152711&r1=152710&r2=152711&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Wed Mar 14 06:26:37 2012
@@ -446,7 +446,7 @@
virtual void initialize(ScheduleDAGMI *dag) {
DAG = dag;
- assert(!ForceTopDown || !ForceBottomUp &&
+ assert((!ForceTopDown || !ForceBottomUp) &&
"-misched-topdown incompatible with -misched-bottomup");
}
@@ -488,7 +488,7 @@
/// Create the standard converging machine scheduler. This will be used as the
/// default scheduler if the target does not set a default.
static ScheduleDAGInstrs *createConvergingSched(MachineSchedContext *C) {
- assert(!ForceTopDown || !ForceBottomUp &&
+ assert((!ForceTopDown || !ForceBottomUp) &&
"-misched-topdown incompatible with -misched-bottomup");
return new ScheduleDAGMI(C, new ConvergingScheduler());
}
@@ -574,7 +574,7 @@
static ScheduleDAGInstrs *createInstructionShuffler(MachineSchedContext *C) {
bool Alternate = !ForceTopDown && !ForceBottomUp;
bool TopDown = !ForceBottomUp;
- assert(TopDown || !ForceTopDown &&
+ assert((TopDown || !ForceTopDown) &&
"-misched-topdown incompatible with -misched-bottomup");
return new ScheduleDAGMI(C, new InstructionShuffler(Alternate, TopDown));
}
More information about the llvm-commits
mailing list