home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.compilers
- Path: sparky!uunet!world!iecc!compilers-sender
- From: dkchen@sp91.csrd.uiuc.edu (Ding-Kai Chen)
- Subject: Re: question on control dependence
- Reply-To: dkchen@sp91.csrd.uiuc.edu (Ding-Kai Chen)
- Organization: UIUC Center for Supercomputing Research and Development
- Date: Wed, 16 Dec 1992 20:04:36 GMT
- Approved: compilers@iecc.cambridge.ma.us
- Message-ID: <92-12-079@comp.compilers>
- References: <92-12-056@comp.compilers> <92-12-070@comp.compilers>
- Keywords: design
- Sender: compilers-sender@iecc.cambridge.ma.us
- Lines: 32
-
- preston@dawn.cs.rice.edu (Preston Briggs) writes:
- >The general case of more than 2 succesoors is handled like this...
-
- > CD(X) = union(P(S)) - intersection(P(S)), for S in successors(X)
-
- >(This is a much simpler version of another answer I posted earlier)
-
- This can be simplified (also with less computation) further:
-
- CD(X) = union(P(S)) - P(X)
-
- I think it is not difficut to prove that
-
- {intersection(P(S)), for S in successors(X)}=P(X)
-
- Similarly,
-
- CD(X,L) = P(X_L) - P(X)
-
- where CD(X,L) is the set of nodes control depend on X with label L and X_L
- is the successor of X with label L.
- Ding-Kai Chen
-
- --
- Ding-Kai Chen University of Illinois
- (217)244-0046 Center for Supercomputing R&D,
- dkchen@csrd.uiuc.edu 465 CSRL 1308 W. Main St. Urbana, IL 61801
-
-
- --
- Send compilers articles to compilers@iecc.cambridge.ma.us or
- {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.
-