From 073b3c2cca2e596cf230dcd7646050747f7d00d0 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 27 Nov 2004 13:29:00 -0700 Subject: Add "memop" simplification phase. It's a bit more simple-minded than the symbol simplification, and it can be more costly. So we start off with the (cheap) symbol simplification algorithm, and then use this new more generic phase later. This allows us to remove extra loads (and, in theory, stores, but the dead store elimination is so simple-minded right now that it's effectively useless). --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 71373bc..b316889 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,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 simplify.o register.o compat-$(OS).o + sort.o flow.o cse.o simplify.o memops.o register.o compat-$(OS).o LIB_FILE= sparse.a LIBS=$(LIB_FILE) @@ -77,6 +77,7 @@ linearize.o: $(LIB_H) flow.o: $(LIB_H) cse.o: $(LIB_H) simplify.o: $(LIB_H) +memops.o: $(LIB_H) register.o: $(LIB_H) sort.o: $(LIB_H) inline.o: $(LIB_H) -- cgit v1.2.3-65-gdbad