diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-11-04 16:15:04 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-11-04 16:15:04 +0000 |
commit | c86b67742a3298c0a5a715b57a64f11107b8a3f2 (patch) | |
tree | 016039c25c32162e4a55beda22cdced04819ab2f /lib/Transforms/Utils | |
parent | 5544e64765c33afe15b9f427c355f6876ee4299f (diff) | |
download | external_llvm-c86b67742a3298c0a5a715b57a64f11107b8a3f2.zip external_llvm-c86b67742a3298c0a5a715b57a64f11107b8a3f2.tar.gz external_llvm-c86b67742a3298c0a5a715b57a64f11107b8a3f2.tar.bz2 |
Finishing initial docs for all transformations in Passes.html.
Also cleaned up some comments in source files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils')
-rw-r--r-- | lib/Transforms/Utils/LowerSwitch.cpp | 6 | ||||
-rw-r--r-- | lib/Transforms/Utils/PromoteMemoryToRegister.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp index 3c08edf..dbf3f65 100644 --- a/lib/Transforms/Utils/LowerSwitch.cpp +++ b/lib/Transforms/Utils/LowerSwitch.cpp @@ -7,9 +7,9 @@ // //===----------------------------------------------------------------------===// // -// The LowerSwitch transformation rewrites switch statements with a sequence of -// branches, which allows targets to get away with not implementing the switch -// statement until it is convenient. +// The LowerSwitch transformation rewrites switch instructions with a sequence +// of branches, which allows targets to get away with not implementing the +// switch instruction until it is convenient. // //===----------------------------------------------------------------------===// diff --git a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp index c32457d..c84da50 100644 --- a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp +++ b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file promote memory references to be register references. It promotes +// This file promotes memory references to be register references. It promotes // alloca instructions which only have loads and stores as uses. An alloca is // transformed by using dominator frontiers to place PHI nodes, then traversing // the function in depth-first order to rewrite loads and stores as appropriate. |