aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2021-03-20 16:20:44 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2021-04-17 20:43:15 +0200
commite016f0beb9bdbf87e5acabcd475b797c2fff4608 (patch)
treebfbe72c272f668582f62e93264fa1137b3fed090
parent015aad879799020c4bb0da458a01bebc434aba14 (diff)
downloadsparse-e016f0beb9bdbf87e5acabcd475b797c2fff4608.tar.gz
memops: remove obsolete comment
The comment above rewrite_load_instruction(), about comparing phi-lists for equality, was (most probably) written when there was some intention to do CSE on phi-nodes or phi-sources. However, such CSE is currently not an objective at all. So, remove this comment. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--memops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/memops.c b/memops.c
index 92888271..d8f06e19 100644
--- a/memops.c
+++ b/memops.c
@@ -17,10 +17,6 @@
#include "simplify.h"
#include "flow.h"
-/*
- * We should probably sort the phi list just to make it easier to compare
- * later for equality.
- */
static void rewrite_load_instruction(struct instruction *insn, struct pseudo_list *dominators)
{
pseudo_t new, phi;