Re: CSE code available?

Alexander Vrchoticky <>
Wed, 24 Jun 1992 09:43:40 GMT

          From comp.compilers

Related articles
CSE code available? (1992-06-23)
Re: CSE code available? (Alexander Vrchoticky) (1992-06-24)
| List of all articles for this month |

Newsgroups: comp.compilers
From: Alexander Vrchoticky <>
Organization: Compilers Central
Date: Wed, 24 Jun 1992 09:43:40 GMT
References: 92-06-116
Keywords: optimize writes:
> Is there a C implementation of a common-subexpression-elemination method?

Yes. I could be cruel, rip the appropriate module out of my compiler, and
mail it to you.

But what is it you *really* want? You have neither stated the required
source and target representation(s), nor the eliminations you wish
performed. Source to source? 3-address code to DAG? Local CSE? Global
CSE? Any old CSE?

The point is that the code to achieve common subexpression elimination is
usually intimately tied to the program representations used in a
particular compiler. Asking for the CSE code alone will probably not do
you much good.


Alexander Vrchoticky
TU Vienna, CS/Real-Time Systems +43/1/58801-8168

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.