diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-05 09:38:09 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-05-05 09:38:09 -0700 |
commit | aef0aaee675093ce2f494a139054b1bca94e9a43 (patch) | |
tree | 71fb770e7c17b9f1ed77086ae3ea6ad0fbced3d0 /ir_copy_propagation.cpp | |
parent | 8e75de31649f877f24f460bc887c827227968403 (diff) |
ir_copy_propagation: Fix up the doxygen about the file.
Diffstat (limited to 'ir_copy_propagation.cpp')
-rw-r--r-- | ir_copy_propagation.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ir_copy_propagation.cpp b/ir_copy_propagation.cpp index 1f8c3590c2..018a30d77c 100644 --- a/ir_copy_propagation.cpp +++ b/ir_copy_propagation.cpp @@ -22,9 +22,14 @@ */ /** - * \file ir_dead_code.cpp + * \file ir_copy_propagation.cpp * - * Eliminates dead assignments and variable declarations from the code. + * Moves usage of recently-copied variables to the previous copy of + * the variable within basic blocks. + * + * This should reduce the number of MOV instructions in the generated + * programs unless copy propagation is also done on the LIR, and may + * help anyway by triggering other optimizations that live in the HIR. */ #include <stdio.h> |