aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-25 10:37:34 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:04:49 -0700
commit384b8be31a6ae2813867cea7fcccc464b788b812 (patch)
tree99e95fc21f76ebf3899819a1a8c91720a4309e85 /Makefile
parent0cde10b1951b7175edab953b3325f8c0c990eea1 (diff)
downloadsparse-dev-384b8be31a6ae2813867cea7fcccc464b788b812.tar.gz
Move instruction simplification to new file "simplify.c".
Also, allow marking a pseudo unused by setting it to VOID, which just disables further renaming of that use. This is needed to make phi-source instructions (that can be shared among multiple phi-nodes thanks to CSE) be collectable. We used to just mark the phi source dead, but that was wrong, since _another_ phi node might be using it.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0e9ba646..3656c689 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ LIB_H= token.h parse.h lib.h symbol.h scope.h expression.h target.h \
LIB_OBJS= target.o parse.o tokenize.o pre-process.o symbol.o lib.o scope.o \
expression.o show-parse.o evaluate.o expand.o inline.o linearize.o \
- sort.o flow.o cse.o compat-$(OS).o
+ sort.o flow.o cse.o simplify.o compat-$(OS).o
LIB_FILE= sparse.a
LIBS=$(LIB_FILE)
@@ -73,6 +73,7 @@ expand.o: $(LIB_H)
linearize.o: $(LIB_H)
flow.o: $(LIB_H)
cse.o: $(LIB_H)
+simplify.o: $(LIB_H)
sort.o: $(LIB_H)
inline.o: $(LIB_H)
target.o: $(LIB_H)