diff options
| author | Aditya Kumar <hiraditya@msn.com> | 2016-08-13 11:56:50 +0000 |
|---|---|---|
| committer | Aditya Kumar <hiraditya@msn.com> | 2016-08-13 11:56:50 +0000 |
| commit | f24939b1f44f7acc6c747c631d4c79bf144002a7 (patch) | |
| tree | a950005f28d42250516acd90fcedc9068a06f542 /llvm/lib/Transforms/Scalar | |
| parent | 8c372a31b7b91adad5566e6ae1436a65879d6025 (diff) | |
| download | bcm5719-llvm-f24939b1f44f7acc6c747c631d4c79bf144002a7.tar.gz bcm5719-llvm-f24939b1f44f7acc6c747c631d4c79bf144002a7.zip | |
Test commit
llvm-svn: 278598
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/GVNHoist.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVNHoist.cpp b/llvm/lib/Transforms/Scalar/GVNHoist.cpp index 2ae4262ddf0..a80e2a74adf 100644 --- a/llvm/lib/Transforms/Scalar/GVNHoist.cpp +++ b/llvm/lib/Transforms/Scalar/GVNHoist.cpp @@ -9,8 +9,10 @@ // // This pass hoists expressions from branches to a common dominator. It uses // GVN (global value numbering) to discover expressions computing the same -// values. The primary goal is to reduce the code size, and in some -// cases reduce critical path (by exposing more ILP). +// values. The primary goals of code-hoisting are: +// 1. To reduce the code size. +// 2. In some cases reduce critical path (by exposing more ILP). +// // Hoisting may affect the performance in some cases. To mitigate that, hoisting // is disabled in the following cases. // 1. Scalars across calls. |

