Related articles |
---|
Looking for the name of an optimization ccox@comcast.net (Chris Cox) (2008-03-31) |
Re: Looking for the name of an optimization dnovillo@acm.org (Diego Novillo) (2008-03-31) |
Re: Looking for the name of an optimization cfc@shell01.TheWorld.com (Chris F Clark) (2008-04-02) |
Re: Looking for the name of an optimization andreybokhanko@gmail.com (2008-04-13) |
From: | Chris Cox <ccox@comcast.net> |
Newsgroups: | comp.compilers |
Date: | Mon, 31 Mar 2008 17:36:27 -0700 |
Organization: | Compilers Central |
Keywords: | optimize, question |
Posted-Date: | 31 Mar 2008 20:47:31 EDT |
I've seen this optimization mentioned a few places, but nobody seems to
agree on the name.
So, I thought I'd ask and see if someone else seen a definitive name for it.
if (x == 1 && y == 2)
z = 300 / (x + y)
==>
if (x == 1 && y == 2)
z = 100
Can anyone help me name that optimization?
Thanks,
Chris
Return to the
comp.compilers page.
Search the
comp.compilers archives again.