aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linearize.h
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-10 19:07:08 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:04:19 -0700
commitea291f91c9908ce0336e20881f4640dbebdcf562 (patch)
treefb437aba33325c949d54a2f45cf9f426de13def0 /linearize.h
parent41452c950e3d4fca9a65b340adea69d44238e410 (diff)
downloadsparse-dev-ea291f91c9908ce0336e20881f4640dbebdcf562.tar.gz
Do some very rough (stupid) symbol access optimizations.
We just look when a store dominates a load, and replace the load with the source of the dominating store. It would even be useful, but we give up at basic block borders. Retard, I tell you.
Diffstat (limited to 'linearize.h')
-rw-r--r--linearize.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linearize.h b/linearize.h
index 19762fef..da3e3680 100644
--- a/linearize.h
+++ b/linearize.h
@@ -45,6 +45,7 @@ struct phi {
struct instruction {
struct symbol *type;
+ struct basic_block *bb;
int opcode;
union {
pseudo_t target;