diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-14 11:26:37 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-14 11:26:37 +0000 |
commit | 689e0b42630f31f74d21041881b21412427924f7 (patch) | |
tree | 9c97d4f04c6416de1562b6fa7b04032a254d169b /lib/CodeGen/MachineScheduler.cpp | |
parent | 4cc2be672f5ac66c53389bcf5e7dc8ad45c5fd88 (diff) |
Silence operator precedence warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | lib/CodeGen/MachineScheduler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp index c68373ad9f..10a318c46d 100644 --- a/lib/CodeGen/MachineScheduler.cpp +++ b/lib/CodeGen/MachineScheduler.cpp @@ -446,7 +446,7 @@ public: virtual void initialize(ScheduleDAGMI *dag) { DAG = dag; - assert(!ForceTopDown || !ForceBottomUp && + assert((!ForceTopDown || !ForceBottomUp) && "-misched-topdown incompatible with -misched-bottomup"); } @@ -488,7 +488,7 @@ public: /// 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 @@ public: 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)); } |