| commit | af32728a57e2092de84cad8c9479795a97a2b33c | [log] [tgz] |
|---|---|---|
| author | Duncan Sands <baldrick@free.fr> | Sat May 07 16:56:49 2011 +0000 |
| committer | Duncan Sands <baldrick@free.fr> | Sat May 07 16:56:49 2011 +0000 |
| tree | 155a0b6ff6fd5330031cd361f9dc70e84180105d | |
| parent | 1e3db02bda30bc8529f3ceda63c2238cbce6cbae [diff] |
The comparision "max(x,y)==x" is equivalent to "x>=y". Since the max is often expressed as "x >= y ? x : y", there is a good chance we can extract the existing "x >= y" from it and use that as a replacement for "max(x,y)==x". llvm-svn: 131049