diff options
| author | Michael Kruse <llvm@meinersbur.de> | 2017-07-24 15:33:58 +0000 |
|---|---|---|
| committer | Michael Kruse <llvm@meinersbur.de> | 2017-07-24 15:33:58 +0000 |
| commit | 67752076bc05125d1fb7d638ceffb5a8dd93acf6 (patch) | |
| tree | 4861c489358e4c3be6a3e7a9f2116a6ba0503d1b | |
| parent | d85e345ce091eca4f918706152c3af5cd65cb185 (diff) | |
| download | bcm5719-llvm-67752076bc05125d1fb7d638ceffb5a8dd93acf6.tar.gz bcm5719-llvm-67752076bc05125d1fb7d638ceffb5a8dd93acf6.zip | |
[ForwardOpTree] Rename FD_CanForward to FD_CanForwardLeaf. NFC.
To make the meaning and distinction to FD_CanForwardTree clearer.
llvm-svn: 308886
| -rw-r--r-- | polly/lib/Transform/ForwardOpTree.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/lib/Transform/ForwardOpTree.cpp b/polly/lib/Transform/ForwardOpTree.cpp index 48a652fb35c..4291c4fe5bf 100644 --- a/polly/lib/Transform/ForwardOpTree.cpp +++ b/polly/lib/Transform/ForwardOpTree.cpp @@ -56,7 +56,7 @@ enum ForwardingDecision { /// where "5" is moved as part of a larger operand tree. "5" would be placed /// (disregarding for a moment that literal constants don't have a location /// and can be used anywhere) into the same statement as %add would. - FD_CanForward, + FD_CanForwardLeaf, /// The root instruction can be forwarded in a non-trivial way. This requires /// the operand tree root to be an instruction in some statement. @@ -155,7 +155,7 @@ private: // These can be used anywhere without special considerations. if (DoIt) return FD_DidForward; - return FD_CanForward; + return FD_CanForwardLeaf; case VirtualUse::Synthesizable: // Not supported yet. @@ -171,7 +171,7 @@ private: // scalar MemoryAccess. It interprets FD_CanForwardTree as the permission // to do so. if (!DoIt) - return FD_CanForward; + return FD_CanForwardLeaf; // If we model read-only scalars, we need to create a MemoryAccess for it. if (ModelReadOnlyScalars) @@ -227,7 +227,7 @@ private: assert(!DoIt); return FD_CannotForward; - case FD_CanForward: + case FD_CanForwardLeaf: case FD_CanForwardTree: assert(!DoIt); break; |

