Silence operator precedence warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152711 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2012-03-14 11:26:37 +00:00
parent 4cc2be672f
commit 689e0b4263

View File

@ -446,7 +446,7 @@ public:
virtual void initialize(ScheduleDAGMI *dag) { virtual void initialize(ScheduleDAGMI *dag) {
DAG = dag; DAG = dag;
assert(!ForceTopDown || !ForceBottomUp && assert((!ForceTopDown || !ForceBottomUp) &&
"-misched-topdown incompatible with -misched-bottomup"); "-misched-topdown incompatible with -misched-bottomup");
} }
@ -488,7 +488,7 @@ public:
/// Create the standard converging machine scheduler. This will be used as the /// Create the standard converging machine scheduler. This will be used as the
/// default scheduler if the target does not set a default. /// default scheduler if the target does not set a default.
static ScheduleDAGInstrs *createConvergingSched(MachineSchedContext *C) { static ScheduleDAGInstrs *createConvergingSched(MachineSchedContext *C) {
assert(!ForceTopDown || !ForceBottomUp && assert((!ForceTopDown || !ForceBottomUp) &&
"-misched-topdown incompatible with -misched-bottomup"); "-misched-topdown incompatible with -misched-bottomup");
return new ScheduleDAGMI(C, new ConvergingScheduler()); return new ScheduleDAGMI(C, new ConvergingScheduler());
} }
@ -574,7 +574,7 @@ public:
static ScheduleDAGInstrs *createInstructionShuffler(MachineSchedContext *C) { static ScheduleDAGInstrs *createInstructionShuffler(MachineSchedContext *C) {
bool Alternate = !ForceTopDown && !ForceBottomUp; bool Alternate = !ForceTopDown && !ForceBottomUp;
bool TopDown = !ForceBottomUp; bool TopDown = !ForceBottomUp;
assert(TopDown || !ForceTopDown && assert((TopDown || !ForceTopDown) &&
"-misched-topdown incompatible with -misched-bottomup"); "-misched-topdown incompatible with -misched-bottomup");
return new ScheduleDAGMI(C, new InstructionShuffler(Alternate, TopDown)); return new ScheduleDAGMI(C, new InstructionShuffler(Alternate, TopDown));
} }