diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-01-07 06:42:05 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-01-07 06:42:05 +0000 |
| commit | 0ff23966feb90618bec4d085095ffbc28426e691 (patch) | |
| tree | e04a0cb0cec930ba0142880ca192359936aaa901 /lib/CodeGen/SelectionDAG | |
| parent | c17d69fa1e084668d6bb27441dbb505e2024f579 (diff) | |
| download | external_llvm-0ff23966feb90618bec4d085095ffbc28426e691.zip external_llvm-0ff23966feb90618bec4d085095ffbc28426e691.tar.gz external_llvm-0ff23966feb90618bec4d085095ffbc28426e691.tar.bz2 | |
Rename all the M_* flags to be namespace qualified enums, and switch
all clients over to using predicates instead of these flags directly.
These are now private values which are only to be used to statically
initialize the tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
| -rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | 2 | ||||
| -rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index 06bf010..bd66159 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp @@ -155,7 +155,7 @@ void ScheduleDAG::BuildSchedUnits() { break; } } - if (TID.Flags & M_COMMUTABLE) + if (TID.isCommutable()) SU->isCommutable = true; } diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index 846004e..ca06cbb 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -437,7 +437,7 @@ SUnit *ScheduleDAGRRList::CopyAndMoveSuccessors(SUnit *SU) { break; } } - if (TID->Flags & M_COMMUTABLE) + if (TID->isCommutable()) NewSU->isCommutable = true; // FIXME: Calculate height / depth and propagate the changes? NewSU->Depth = SU->Depth; |
