ir_copy_propagation: Fix up the doxygen about the file.
authorEric Anholt <eric@anholt.net>
Wed, 5 May 2010 16:38:09 +0000 (09:38 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 5 May 2010 16:38:09 +0000 (09:38 -0700)
ir_copy_propagation.cpp

index 1f8c3590c20dde7b6bc4763b77eea887ca95bec4..018a30d77cf3faea8d5f1127863b5f81ae9d4df1 100644 (file)
  */
 
 /**
- * \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>